Inconsistent results when moving files with same name?
I have two similar, but different (nested) rules set up for moving files with the same name, depending on the extension. The only difference between the two rules is the extension on the nested rule (within both main rules). Depending on the extension, I'm getting different results. These are the file names that are placed into the folder that Hazel is monitoring:
regular_photo.heic
regular_photo.aae (the sidecar for the above photo)
live_photo.heic
live_photo.mov (the video of the above live photo)
The two rules on the folder that Hazel is monitoring is as follows:
RULE 1
RULE 2
The only difference between these two rules is the extension being matched in the nested rule (aae/mov), and where the files get moved to (SIDECARD/LIVE_PHOTOS folder).
The problem I'm having is, when I drop all four files into the folder being monitored, Rule 1 moves both live_photo.heic and live_photo.mov into the LIVE_PHOTOS folder. But Rule 2 only moves regular_photo.aae into the SIDECARD folder, and live_photo.heic is left in the folder being monitored.
I've also tested this using a single rule and just changing the extension between attempts (either aae or mov), but still getting the same results. When I match against the aae extension, only the aae move. And when I match against the mov extension, both the heic and mov move.
Any ideas on why I'm getting these different results?
Running Hazel 5.3.6 on macOS Monterey.
Thanks,
Kristin.
regular_photo.heic
regular_photo.aae (the sidecar for the above photo)
live_photo.heic
live_photo.mov (the video of the above live photo)
The two rules on the folder that Hazel is monitoring is as follows:
RULE 1
- Code: Select all
If all of the following conditions are met:
Name matches FILE_NAME (FILE_NAME is a "• Custom Text" pattern with the attribute set to "... Anything")
If all of the following conditions are met for ANY FILE OR FOLDER IN THE SAME FOLDER
Name matches FILE_NAME
Extension is aae
Do the following to the matched file or folder:
Move to folder SIDECARS
RULE 2
- Code: Select all
If all of the following conditions are met:
Name matches FILE_NAME (FILE_NAME is a "• Custom Text" pattern with the attribute set to "... Anything")
If all of the following conditions are met for ANY FILE OR FOLDER IN THE SAME FOLDER
Name matches FILE_NAME
Extension is mov
Do the following to the matched file or folder:
Move to folder LIVE_PHOTOS
The only difference between these two rules is the extension being matched in the nested rule (aae/mov), and where the files get moved to (SIDECARD/LIVE_PHOTOS folder).
The problem I'm having is, when I drop all four files into the folder being monitored, Rule 1 moves both live_photo.heic and live_photo.mov into the LIVE_PHOTOS folder. But Rule 2 only moves regular_photo.aae into the SIDECARD folder, and live_photo.heic is left in the folder being monitored.
I've also tested this using a single rule and just changing the extension between attempts (either aae or mov), but still getting the same results. When I match against the aae extension, only the aae move. And when I match against the mov extension, both the heic and mov move.
Any ideas on why I'm getting these different results?
Running Hazel 5.3.6 on macOS Monterey.
Thanks,
Kristin.