Welcome To Snipplr


Everyone's Recent Snippets Tagged Bash



1 ... 8 9 10 11 12 ... 17
0 2005 posted 16 years ago by tm
This command will count the number of files in the given directory and sub-directories.
0 3366 posted 16 years ago by gdvickery
Делаем исполняемым cd ~ && chmod +x ship.sh Для запуска сервера: ./ship.sh -serve Для подключения к серверу ./ship.sh host
1 1457 posted 16 years ago by anonymous
gets the svn version of the cwd
0 1830 posted 16 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 2176 posted 16 years ago by s3xym4n
Wish i'd known about this several years ago
0 1777 posted 16 years ago by nate63179
Great script found on http://www.scrounge.org/linux/rsync.html. Useful for creating boilerplate backup scripts
1 1739 posted 16 years ago by nate63179
Allows downloading of sequential files
0 2122 posted 16 years ago by nate63179
0 1834 posted 16 years ago by vas3k
1 1520 posted 16 years ago by benpjohnson
0 1854 posted 17 years ago by danshields
Copy every file with .dist in the end to a new file without .dist
0 1432 posted 17 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 1918 posted 17 years ago by luizlopes
1 2134 posted 17 years ago by troynt
1 1991 posted 17 years ago by fris
Sample log line: [INFO] 2009-03-06 20:47:35 | controller::bla | user: vincentvega | ip: 127.0.0.1
0 2058 posted 17 years ago by benjay
1 1475 posted 17 years ago by benpjohnson
svn log | sed -n '/username/,/-----$/ p'
0 1597 posted 17 years ago by sonnyg
0 1685 posted 17 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 1907 posted 17 years ago by AzizLight
usage: dgrep foo svn://my-svn-server/trunk/my-file.txt
0 2610 posted 17 years ago by hacker
usage: sgrep foo svn://my-svn-server/trunk/my-file.txt
0 2391 posted 17 years ago by hacker
1 ... 8 9 10 11 12 ... 17