Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement