Extract all .tar files in a dir
// Extract all tar files in a dir
for i in *.tar; do echo working on $i; tar xvzf $i ; done
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
Tracy Floyd http://www.coalescedesign.com
for i in *.tar; do echo working on $i; tar xvzf $i ; done
find /PATH/TO/STARTING/DIRECTORY -type f -name "*.jpg" -delete
du -sh /PATH/TO/DIRECTORY