Welcome To Snipplr


Everyone's Recent Snippets Tagged Bash



1 ... 8 9 10 11 12 ... 17
0 969 posted 15 years ago by tm
This command will count the number of files in the given directory and sub-directories.
0 1558 posted 15 years ago by gdvickery
Делаем исполняемым cd ~ && chmod +x ship.sh Для запуска сервера: ./ship.sh -serve Для подключения к серверу ./ship.sh host
1 667 posted 15 years ago by anonymous
gets the svn version of the cwd
0 793 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 1104 posted 15 years ago by s3xym4n
Wish i'd known about this several years ago
0 786 posted 15 years ago by nate63179
Great script found on http://www.scrounge.org/linux/rsync.html. Useful for creating boilerplate backup scripts
1 810 posted 15 years ago by nate63179
Allows downloading of sequential files
0 1020 posted 15 years ago by nate63179
0 904 posted 15 years ago by vas3k
1 694 posted 15 years ago by benpjohnson
0 829 posted 15 years ago by danshields
Copy every file with .dist in the end to a new file without .dist
0 623 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 866 posted 15 years ago by luizlopes
1 942 posted 15 years ago by troynt
1 783 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 940 posted 15 years ago by benjay
1 671 posted 15 years ago by benpjohnson
svn log | sed -n '/username/,/-----$/ p'
0 703 posted 15 years ago by sonnyg
0 767 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 911 posted 15 years ago by AzizLight
usage: dgrep foo svn://my-svn-server/trunk/my-file.txt
0 1188 posted 15 years ago by hacker
usage: sgrep foo svn://my-svn-server/trunk/my-file.txt
0 1082 posted 15 years ago by hacker
1 ... 8 9 10 11 12 ... 17