Never been to TextSnippets before?

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!)

About this user

Tracy Floyd www.cdnm.com

« Newer Snippets
Older Snippets »
3 total  XML / RSS feed 

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

Delete all the .jpg files in all directories below the current

// Delete all the .jpg files in all directories below the current
find /PATH/TO/STARTING/DIRECTORY  -type f -name "*.jpg" -delete

Check Disk Usage on Linux

// Check Disk Usage on Linux
du -sh /PATH/TO/DIRECTORY
« Newer Snippets
Older Snippets »
3 total  XML / RSS feed