Welcome To Snipplr


Everyone's Recent Bash Snippets



1 ... 31 32 33 34 35 ... 41
If you accidentally deleted files from a subversion working copy, subversion marks them missing instead of deleted. This command will delete them correctly from the repository.
2 2106 posted 16 years ago by afiedler
ssh-copy-id + port
1 1041 posted 16 years ago by endorfin
This is useful for syncing two folders on different computers over ssh (the default transport of rsync).
1 930 posted 16 years ago by narkisr
0 1003 posted 16 years ago by vasilije
Needs flvttool2 for generating meta info for flv file.
0 906 posted 16 years ago by Juego
copied straight from the source
1 925 posted 16 years ago by melvitax
Copy a directory (and subdirectories) without .svn files.
0 862 posted 16 years ago by sanjivarunsahayamhotmailcom
0 833 posted 16 years ago by moonbather
Searches for some text in a list of files. Displays the results with the filename where the snippet was found.
1 1088 posted 16 years ago by sanjivarunsahayamhotmailcom
Simply open up terminal and run these commands one at a time. You may need sudo or root access.
0 939 posted 16 years ago by chrisaiv
Query a nameserver to easily find out all there is to know about a domain name; Nameservers, MX-servers, cnames, subdomains etc.
1 930 posted 16 years ago by torkil
0 660 posted 16 years ago by hdanniel
Simple function which makes it easy to add files to svn in bash (add this to your .bashrc file).
1 1021 posted 16 years ago by narkisr
A bash script that calls Drush for all your multisite sites and returns a list of available and installed modules for each site.
2 1029 posted 16 years ago by berkes
`lookupd` doens't exist in Leopard, instead `dscacheutil` should be used.
2 1304 posted 16 years ago by rastersize
Rename files to lowercase easily
0 918 posted 16 years ago by nark0ppler
0 938 posted 16 years ago by therobot
Here's how to copy 2 directories and strip the .svn and .cvs nonsense, basically an export function, but locally
1 1026 posted 16 years ago by vanne
Contents of the .gitignore file used in my XCode projects.
1 957 posted 16 years ago by scasware
This will start at the specified URL and recursively download pages up to 3 links away from the original page, but only pages which are in the directory of the URL you specified (emacstips/) or one of its subdirectories. wget will also rewrite the...
10 1264 posted 16 years ago by rwczippy
Example: ln -s /usr/local/apache/logs ./logs
3 1430 posted 16 years ago by jonhenshaw
Remove *.LCK for any other extension you want to remove.
0 996 posted 16 years ago by luizlopes
Pre 1.6 git has some annoying whitespace checking in it's pre-commit hook. Rather than turn it off I decided to have a go at an automated method to fix the issue. Running the first line lists the files that have problems. The second just adds a se...
0 1645 posted 16 years ago by benpjohnson
0 677 posted 16 years ago by rubinsta
1 ... 31 32 33 34 35 ... 41