Welcome To Snipplr
Everyone's Recent Bash Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Useful for when you want to move all mp3 files in sub directories into the current dir
0
671
posted 13 years ago by studioevoque
Useful for syncing only MP3 or PDF files which are nested in a deep directory tree
0
1240
posted 13 years ago by studioevoque
1. You'll need the perl-based rename script http://tips.webdesign10.com/how-to-bulk-rename-files-in-linux-in-the-terminal
2. I'm using Terminal on mac so you might need to change some of your flags
0
918
posted 13 years ago by timberjorge
simple bash script to kill apache childs with status "Gracefully finishing" or "G" status. you may put it at cron
0
722
posted 13 years ago by randompage
Usage: setowner james
Will set all files in current directory and all subdirectories to owner james:james
0
416
posted 13 years ago by renekreijveld
refreshes Chrome + Safari without bringing them into focus. If Chrome is hidden, then no refresh occurs.
2
850
posted 13 years ago by iloveitaly