Search for Tips & Tricks

Google
 

Wednesday, February 27, 2008

How to iterate through output

# use this below script for iteration thorugh the output

for i in *.tar.gz; do echo working on $i; tar xvzf $i ; done

the above example will extract all tar.gz file in current folder.

No comments: