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
635
posted 15 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
1306
posted 16 years ago by mandric
Start mplayer with -vf screenshot, and press 's' when you want to capture a
frame.
0
544
posted 16 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
633
posted 16 years ago by mandric
The -P handles partial transfers, I'm using this for big audio/video files.
2
694
posted 16 years ago by mandric
this launches vi so you can add the files/dirs you want to ignore. i'm not happy.
4
624
posted 16 years ago by mandric