Welcome To Snipplr


Everyone's Recent Bash Snippets



There's another snippet here that's pure Ruby. This one can be used from the command line directly. The previous version still used Ruby, this one is pure shell.
0 482 posted 16 years ago by plexus
SSh with 3 levels of debugging this useful if you can't login and need to see what is going on.
1 506 posted 16 years ago by vanne
My additions to the textdrive .profile
0 350 posted 16 years ago by ryansobol
Remove all those annoying thumbnail files that Windows users created while browsing your network drive. This command traverses all directories and deletes all "Thumbs.db" files as it finds them.
1 886 posted 16 years ago by Roshambo
1 365 posted 16 years ago by micmath
1 364 posted 16 years ago by micmath
Move all mails with a certain subject (in this case starting with the word "Undelivered" into a backup dir. It is by no means a mail filter, I needed it to clean out the maildirectory after a HDD crash wich caused over 1000000 (one million) local bo...
0 390 posted 16 years ago by berkes
1 360 posted 16 years ago by Catfish
1 374 posted 16 years ago by assbach
Seen here: http://textsnippets.com/posts/show/319
1 976 posted 16 years ago by huckeduster
Obviously you need to have heartbeatd handled by Launchd
0 402 posted 16 years ago by smoothnoodle
Using this command makes it easy to do a project-wide search-and-replace
0 407 posted 16 years ago by collin
0 455 posted 16 years ago by whitetiger
1 401 posted 16 years ago by whitetiger
0 425 posted 16 years ago by whitetiger
0 397 posted 16 years ago by whitetiger
0 417 posted 16 years ago by whitetiger
This command will list every file under /my/directory larger than 250kB and sort it largest to smallest.
13 529 posted 16 years ago by SunnyJim