Welcome To Snipplr


Everyone's Recent Snippets Tagged Bash



1 ... 8 9 10 11 12 ... 17
0 861 posted 14 years ago by tm
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
gets the svn version of the cwd
0 705 posted 14 years ago by iloveitaly
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
Wish i'd known about this several years ago
0 700 posted 14 years ago by nate63179
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
Allows downloading of sequential files
0 911 posted 15 years ago by nate63179
0 809 posted 15 years ago by vas3k
1 613 posted 15 years ago by benpjohnson
0 726 posted 15 years ago by danshields
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
1 827 posted 15 years ago by troynt
1 658 posted 15 years ago by fris
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
1 580 posted 15 years ago by benpjohnson
svn log | sed -n '/username/,/-----$/ p'
0 621 posted 15 years ago by sonnyg
0 671 posted 15 years ago by 1b0t
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
usage: dgrep foo svn://my-svn-server/trunk/my-file.txt
0 1063 posted 15 years ago by hacker
usage: sgrep foo svn://my-svn-server/trunk/my-file.txt
0 974 posted 15 years ago by hacker
1 ... 8 9 10 11 12 ... 17