Search found 2 matches
- April 3rd, 2009, 2:13 am
- Forum: Post-Processing Scripts
- Topic: Scripting n00b...
- Replies: 7
- Views: 7825
Re: Scripting n00b...
Save yourself the trouble, install cygwin.
- April 1st, 2009, 8:50 pm
- Forum: Post-Processing Scripts
- Topic: Simple bash script for making a 'new downloads' folder w/ symlinks
- Replies: 0
- Views: 3832
Simple bash script for making a 'new downloads' folder w/ symlinks
Figured somewhere out there might like this one I use: #!/bin/bash maxage=14 # How many days to keep the links for dt=`date +%m-%d` # Date format (see man date) linkpath="/files/New" # Where to put the links realf=`ls -t "$1" | egrep '*\.(avi|mkv|mpg)' | head -n 1` ln -s "$1...