- 0 */4 * * * /scripts/media/cronliminal
- #!/bin/bash
- find /media/harddisks/media/media/TV\ Series/ -type f \( -iname \*.avi -o -iname \*.mkv \) -and -mtime -28 > /scripts/media/processing/cronpost
- while read line
- do
- subliminal -f -l 'nl' --cache-dir=/tmp/ -s bierdopje "$line";
- dest=${line%.*}.srt
- if [ -f "$dest" ];
- then
- touch -d "2012-11-8" "$line"
- touch -d "2012-11-8" "$dest"
- fi
- done < /scripts/media/processing/cronpost
SHARE
TWEET
Untitled
a guest
Dec 17th, 2012
24
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
