I have a text file in
//file1.txt has multiple names (some with spaces).
*gz files are available in
I need to find
*.gz files from a parent directory and its sub-directories .
It contains more than 1000 files and I have ready spent close to 2 hours finding only 30 files ....
Is there a loop? Where I can use it?
I have already tried:
for file in `cat cal.txt`;
do cp -p "*.gz" /tmp/tmp2/ ;
Which apparently didn't work.
Can one of you help me with answers?