What is *.rar.1 supposed to be? That is not a standard way of naming *.rar archives. As a result, the cleaner script won't touch it, because we can't just go around deleting random files.
You can make your own cleaner calls, and then you get to specify your own cleaner rules as well if you're not happy with the defaults: viewtopic.php?t=5#p1341
I wouldn't count on it, since you're explicitly disabling the safety feature that prevents that from happening.
e.g. If you are processing files like "Trailer Park Boys" that contains the keyword "trailer" and are relatively small in file size then these files may very well end up being deleted.
I wouldn't count on it, since you're explicitly disabling the safety feature that prevents that from happening.
e.g. If you are processing files like "Trailer Park Boys" that contains the keyword "trailer" and are relatively small in file size then these files may very well end up being deleted.
rednoah wrote: ↑20 Oct 2019, 10:49
I see. You're using the amc script. The option given above refer to the cleaner script.
** Although the amc may call the cleaner script internally, the cleaner script can't be configured or customized at all in this case.
You'll want to do separate calls for amc script and cleaner script if you need to customize the cleaner script logic.
Perfect works great. However another file extension was just left behind. So i guess is there a way to define the cleaner script to delete any file under a certain size?
Yes. 0 maybe reported by some remote file system implements when there is an error of some kind, meaning that 0 can mean 0 but can also mean anything, so we side with caution and don't delete things.
The cleaner script is primarily about not accidentally deleting important files. If you just wanna delete files, plain and simple, without safety features, then the find command is more suitable for the task at hand.
Find won’t work as it will delete files from the “unpack” folders.
Is there a way for cleaner to work in reverse so it deletes anything but the extensions you define? So we can specify .mkv, avi etc in the -def switch and it won’t delete those.
Alternatively can we put wildcards in exts. At the moment I have extensions of .r1, .r2, - .r98, .r99. So can we define any extension that has the letter R in it?
Achandab wrote: ↑29 Oct 2019, 03:52
Is there a way for cleaner to work in reverse so it deletes anything but the extensions you define? So we can specify .mkv, avi etc in the -def switch and it won’t delete those.
Achandab wrote: ↑29 Oct 2019, 03:52
Alternatively can we put wildcards in exts. At the moment I have extensions of .r1, .r2, - .r98, .r99. So can we define any extension that has the letter R in it?
Yes, --def exts expects are regular expression, so for example, --def exts='r[0-9]+' will match all extensions from .r1 to .r999 and beyond.