kaiijy wrote:As many of you, i have a folder for my Movies downloaded via torrent and many of them come in folders. Inside theses folders the is the movie file and sometimes a few others, for example, Screenshots.
I've already configured Hazel to exclude all the image files from these subfolders, so as .txt and anything that ain't a MOVIE file or a SUBTITLE. Works like a charm.
Still, i'm finding it quite challenging to configure such a simple task as checking the subfolders of my Movies folder, looking for empty folders and excluding them.
I've tried using the following rules at my MOVIES folder.
#1 If KIND is FOLDER
and NUMBER OF FILES is 0
MOVE FILES to TRASH
[b]#2[b] If KIND is FOLDER
RUN RULES ON FOLDER CONTENTS
For further explanation, this is the structure:
MOVIES folder -> Rules go here
------- Film folder
---------------- Empty Folder --> the one i want to delete.
How did you handle cleaning up files that come with torrent downloads? (nfo, txt, screenshots, samples) Normally I don't download them in the first place but when using magnet links I don't see the option of picking what to download. This is what I have:
Rule #1 Remove empty (my logic tells me this should be third but it only works when it goes first)
- If all conditions are met
-- Kind is folder
-- Sub-file/folder count is 0
-Then
-- move to trash
Rule #2 Dive into subfolders
- if all conditions are met
-- kind is folder
- then
-- run rules on folder contents
Rule #3 Movie mover
- if any condition is met
-- kind is movie
-- extension is mkv
-then
-- move to folder movies
How do I delete any leftovers?
Things to consider: this is run in the downloads folder, where I also download pretty much everything. I though about specifically looking for image and nfo files, or video files containing the word sample, but I'm afraid this rule will affect other files in the downloads folder and they'll get deleted.
How do I make sure a certain rule is only run for the video torrent download?
Thanks