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
682
posted 13 years ago by studioevoque
Useful for syncing only MP3 or PDF files which are nested in a deep directory tree
0
1256
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
927
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
733
posted 13 years ago by randompage
Usage: setowner james
Will set all files in current directory and all subdirectories to owner james:james
0
429
posted 13 years ago by renekreijveld
refreshes Chrome + Safari without bringing them into focus. If Chrome is hidden, then no refresh occurs.
2
867
posted 13 years ago by iloveitaly