docker-filebot icon indicating copy to clipboard operation
docker-filebot copied to clipboard

Add a way to clear the watch directory after running FileBot

Open leolabs opened this issue 4 years ago • 7 comments

This PR introduces a new environment variable AMC_PROPER_CLEAN which, if set to any value, will cause the AMC script to remove all files from the watch directory after FileBot finished sorting the files.

leolabs avatar Jan 02 '21 12:01 leolabs

The AMC script already uses the option --def clean=y to perform cleanup. Did you see that this was not working ?

jlesage avatar Feb 19 '22 20:02 jlesage

It's been a while, but I think that was it. It wasn't properly cleaning out the watch directory, so there'd be leftover files in there after FileBot ran. This might've already been fixed in newer versions of FileBot, so feel free to close this if you don't think this is an issue anymore :)

leolabs avatar Feb 19 '22 21:02 leolabs

Ok thanks for the clarification. Please let me know if you still see the issue.

jlesage avatar Feb 21 '22 23:02 jlesage

I'm still seeing this issue with the current version of FileBot. Sometimes it leaves some featurettes or other metadata files in the inbox folder.

leolabs avatar Feb 25 '22 12:02 leolabs

What were the extension of these files?

jlesage avatar Feb 25 '22 16:02 jlesage

Mostly mkv, some nfo files as well.

leolabs avatar Feb 25 '22 17:02 leolabs

These are the files that were not cleaned ?

jlesage avatar Feb 25 '22 20:02 jlesage