Welcome To Snipplr


Everyone's Recent Snippets Tagged Bash



1 ... 8 9 10 11 12 ... 17
0 1033 posted 15 years ago by tm
This command will count the number of files in the given directory and sub-directories.
0 1719 posted 15 years ago by gdvickery
Делаем исполняемым cd ~ && chmod +x ship.sh Для запуска сервера: ./ship.sh -serve Для подключения к серверу ./ship.sh host
1 731 posted 15 years ago by anonymous
gets the svn version of the cwd
0 851 posted 15 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 1177 posted 15 years ago by s3xym4n
Wish i'd known about this several years ago
0 864 posted 15 years ago by nate63179
Great script found on http://www.scrounge.org/linux/rsync.html. Useful for creating boilerplate backup scripts
1 865 posted 15 years ago by nate63179
Allows downloading of sequential files
0 1091 posted 15 years ago by nate63179
0 970 posted 15 years ago by vas3k
1 749 posted 15 years ago by benpjohnson
0 895 posted 15 years ago by danshields
Copy every file with .dist in the end to a new file without .dist
0 688 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 918 posted 15 years ago by luizlopes
1 1017 posted 15 years ago by troynt
1 851 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 1018 posted 15 years ago by benjay
1 711 posted 15 years ago by benpjohnson
svn log | sed -n '/username/,/-----$/ p'
0 760 posted 15 years ago by sonnyg
0 832 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 976 posted 15 years ago by AzizLight
usage: dgrep foo svn://my-svn-server/trunk/my-file.txt
0 1273 posted 15 years ago by hacker
usage: sgrep foo svn://my-svn-server/trunk/my-file.txt
0 1153 posted 15 years ago by hacker
1 ... 8 9 10 11 12 ... 17