Welcome To Snipplr
Everyone's Recent Bash Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Simply paste the list of URLs into stdin. You can add the option `-P 4` to parallelize the downloads.
1
1862
posted 17 years ago by xenonite
Replace all the occurrences of a string with a replacement in the supplied files.
2
2010
posted 17 years ago by sanjivarunsahayamhotmailcom
A simple method of clearing the data of a hard drive (writing zeros all over it).
2
2131
posted 17 years ago by narkisr
Basic file system manipulation in Linux (some commands require sudo).
0
1618
posted 17 years ago by narkisr
If you don't have Adobe Acrobat Pro to export a PDF to multiple images, you can use this ImageMagick code.
This command will produce the files 'result-0.jpg' , 'result-1.jpg', etc... for each PDF page.
5
2807
posted 17 years ago by webonomic
You can use this code in Bash or Windows CMD / Command prompt (although you'll have the change the comment character from # to :: for the windows prompt)
1
2978
posted 17 years ago by webonomic
Use this command to prevent seeing ....68 more type stack trace message in Grails output.
0
1662
posted 17 years ago by kouphax
The <code>clean</code> script shipped with the Magento downloader actually deletes too much. It's safe to run this command after updating to keep the installation "small".
0
1458
posted 17 years ago by hlubek
get a list of all the video files played in all the vortexes
0
2017
posted 17 years ago by rowntreerob
If you accidentally deleted files from a subversion working copy, subversion marks them missing instead of deleted. This command will delete them correctly from the repository.
2
5020
posted 17 years ago by afiedler
This is useful for syncing two folders on different computers over ssh (the default transport of rsync).
1
1766
posted 17 years ago by narkisr