In a one Listing, it could be so simple as reading through all the filelist before processing it (and strace makes it seems like That is what transpires): How can I make my looping shell script pause after a loop by sending something like ctrl-z and afterwards be continuable? one https://jonathanh813nrx2.wikipresses.com/user