Profile
Achievement
mandric's Recent Bash Snippets
- All /
« Prev 1 Next »
Not sure why I'm posting this madness. Bash can be good for some things though. I think part of the reason I used bash was because I was calling alot of external commands.
0
1681
posted 18 years ago by mandric
This is meant to be run as root, so do it at your own risk. It's very raw and needs error checking, but works. I run this script to get new django sites off the ground in a few minutes.
0
2551
posted 18 years ago by mandric
Start mplayer with -vf screenshot, and press 's' when you want to capture a
frame.
0
1492
posted 18 years ago by mandric
find command just returns a list of HTML files that have 'search_str' in it, vim takes a list of files.
0
1611
posted 18 years ago by mandric
The -P handles partial transfers, I'm using this for big audio/video files.
2
1890
posted 18 years ago by mandric
this launches vi so you can add the files/dirs you want to ignore. i'm not happy.
4
1839
posted 18 years ago by mandric