Okay, so Apple's Photos.app has an annoying feature of bringing in all the *videos* we shoot with out iPhones & iPads. (at least it does when I'm using the iCloud Photo Library feature) Regardless, I don't want them all there, filling up my iCloud Drive space needlessly. So here's what I've tried to accomplish:
• FIND the videos
• MARK them with the color tag "green"
• COPY them to a central file server
• TRASH the originals
I've been able to find the videos inside the "Photos Library.photoslibrary" pretty easily. They live in ../Masters inside that bundle. And, using the "subfolder.hazelrules" provided here, it was easy to have the search be recursive through all the subdirectories of the "Masters" directory, Then I marked them all green, and copied them over to the file server – no sweat.
But, when I try to get all the movies in the subfolders again, and then move them to the Trash (or /tmp, or ~/test, etc.) nothing ever happens. FWIW, the "preview" option never works on this workflow; it always seems to get stuck on choosing a target folder dialog. If anyone could look at my Hazel rules for this below, and let me know what I did wrong, I'd really appreciate it.
Thanks!
- Hans Rupert
http://www.noir.net/z-tests/hazel/Photos_Masters_Videos.hazelrules.zip