Welcome To Snipplr
Everyone's Recent Bash Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
cURL can be used in place of wget
Use this command to download a file into filesystem using terminal.
0
2090
posted 15 years ago by mprabhuram
You will be prompted for a password after issuing this command
1
1583
posted 15 years ago by beneberle
Replace filename with the name you want to give the zip file. The .zip extension is automatically appended to the end of the filename. Replace inputfile1 and inputfile2 with the names of the files you wish to include in the zip archive. You can inclu...
2
1855
posted 15 years ago by beneberle
1st shows only files and directories bigger than 1 Megabyte
2nd shows only files and directories bigger than 100 Megabyte
0
1349
posted 15 years ago by kossmoss
A quick script to add all of your unversioned files. Good when working in bulk.
0
1214
posted 15 years ago by philsown
Bash
Bash (Command Line): Loop through directories in specified location, replacing directories in current directory (with backup)
This command line aims at moving directories from a target location to the present working directory (pwd), backing the pwd directories up as it encounters them.
The script works by:
1. Iterating through the contents of the target directory (us...
0
1785
posted 15 years ago by karlhorky