Shell Command to Check List of Files


  • Share on Pinterest

 

tr '\n' '\0' < check.txt | xargs -0 -r ls -alc --

Adapted from https://unix.stackexchange.com/questions/65584/how-to-execute-command-on-list-of-file-names-in-a-file