HOWTO: Perform action for every line of input
a) Extract all TAR archives in current directory:
find -type f -name *.tar.gz -printf "%f\n" | xargs -I % tar -xzvf %
HOWTO: Delete all files listed in text file
xargs rm -frv < <filename.txt>
a) Extract all TAR archives in current directory:
find -type f -name *.tar.gz -printf "%f\n" | xargs -I % tar -xzvf %
xargs rm -frv < <filename.txt>