Welcome To Snipplr
Everyone's Recent Snippets Tagged Bash
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This command will count the number of files in the given directory and sub-directories.
0
1316
posted 14 years ago by gdvickery
Делаем иÑполнÑемым cd ~ && chmod +x ship.sh
Ð”Ð»Ñ Ð·Ð°Ð¿ÑƒÑка Ñервера: ./ship.sh -serve
Ð”Ð»Ñ Ð¿Ð¾Ð´ÐºÐ»ÑŽÑ‡ÐµÐ½Ð¸Ñ Ðº Ñерверу ./ship.sh host
1
564
posted 14 years ago by anonymous
This will build and install a Dreamweaver CS4 extension automatically and silently. The version number will be taken from the *.mxi file and appended to the packed *.mxp. Set the extensionfile variable to the name of the *.mxi file without the extens...
0
929
posted 14 years ago by s3xym4n
Great script found on http://www.scrounge.org/linux/rsync.html. Useful for creating boilerplate backup scripts
1
708
posted 14 years ago by nate63179
Copy every file with .dist in the end to a new file without .dist
0
531
posted 15 years ago by bub3d
after recording screen cast using recordmydesktop this is a fast way of converting the file to .avi so it can be uploaded to youtube or other video sharing sites.
0
772
posted 15 years ago by luizlopes
Sample log line:
[INFO] 2009-03-06 20:47:35 | controller::bla | user: vincentvega | ip: 127.0.0.1
0
830
posted 15 years ago by benjay
In Snow Leopard, bash treats colors differently. All the color codes that are escaped with \e won't be recognized. The new escape sequence is \033.
The list below works perfectly in Snow Leopard
0
801
posted 15 years ago by AzizLight