Hey. Is it possible to only process files older than a xx hours?
Because sometimes, filebot takes unfinished files out of my download-folder without being completely extracted.
Thanks.
only process files older than a xx hours?
Re: only process files older than a xx hours?
Easy on Linux and Mac. See How to process only specific kinds of files? Option 4.
PS: If you call filebot/amc on uncomplete files you're doing it wrong. Fix your setup. Move completely folders to a separate location and have filebot/amc only process files that are in this separate location.
PS: If you call filebot/amc on uncomplete files you're doing it wrong. Fix your setup. Move completely folders to a separate location and have filebot/amc only process files that are in this separate location.
-
- Posts: 26
- Joined: 05 Nov 2016, 15:13
Re: only process files older than a xx hours?
ok, thanks!
-
- Posts: 26
- Joined: 05 Nov 2016, 15:13
Re: only process files older than a xx hours?
Hey. I tried this with "--minAgeHours=1" but since most files has a very old Date (original creation date), this isn't working.
You said my setup is wrong. But i don't really know how to this. JD2 (and pyload aswell) extracts files directly into the "extraction-folder". And therefore they are unfinished in that folder aswell.
It would be a great thing to let Filebot check the Filesize 2 times - to see whether the filesize is changing or not ? That would be a really helpful option.
Thanks.
Update: "find ./ -type f -mtime +30 -exec filebot command {} \;" seems to work. thanks for pointing into the right direction.
You said my setup is wrong. But i don't really know how to this. JD2 (and pyload aswell) extracts files directly into the "extraction-folder". And therefore they are unfinished in that folder aswell.
It would be a great thing to let Filebot check the Filesize 2 times - to see whether the filesize is changing or not ? That would be a really helpful option.
Thanks.
Update: "find ./ -type f -mtime +30 -exec filebot command {} \;" seems to work. thanks for pointing into the right direction.
Re: only process files older than a xx hours?
1.
The correct usage looks like this:
So minAgeDays would be used like this:
or this:
This is applicable to the suball script only, and not about the amc script.
2.
Checking if file size changes is a very unreliable way to do things, but you can of course do it this way and depending on your setup it might work well for you. That's up to your own wrapper script selecting the appropriate files and passing them on to filebot.
If I was using JD, then I'd probably use the existing JD integration scripts:
viewtopic.php?f=4&t=3478
The correct usage looks like this:
Code: Select all
filebot -script fn:suball /path/to/media -non-strict --def maxAgeDays=7
Code: Select all
--def minAgeDays=1
Code: Select all
--def minAgeDays=0.1

2.
Checking if file size changes is a very unreliable way to do things, but you can of course do it this way and depending on your setup it might work well for you. That's up to your own wrapper script selecting the appropriate files and passing them on to filebot.
If I was using JD, then I'd probably use the existing JD integration scripts:
viewtopic.php?f=4&t=3478