Page 1 of 1

Only get subtitles for files less then 10 days old

Posted: 02 Apr 2014, 09:44
by rednoah
Using a bit of find, grep and xargs can get you a long long way with most automation tasks! :mrgreen:

For example to only download subtitles for files less than 10 days old.

e.g.

Code: Select all

find /volume1/data/Downloads/complete/ -type f -mtime -10 | xargs filebot -get-missing-subtitles -non-strict
So we just do a little find with -f files less than -mtime -10 days old and just pass all of that on to filebot. Naturally this will work just the same for any cmdline tool, not just filebot. ;)