Bash read file names from a text file and take action - Thelinksmaster - Tech News, Android, Apps, Tricks, Tips, Tools, Tutorials

Breaking

Tuesday, December 4, 2018

Bash read file names from a text file and take action

I need to read a list of file names from a text file named input.txt and take action each file name. How do I read file names from a text file and say run /bin/foo command on each file? How do I read filenames from a text file and take certain action on those files?

The post Bash read file names from a text file and take action appeared first on nixCraft.



from nixCraft https://ift.tt/2RsmtoZ
via IFTTT

No comments:

Post a Comment