Exiftool rename & move issue

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Exiftool rename & move issue Sun Jun 05, 2016 9:02 am • by iMace
Having an issue with exiftool and moving pictures.
The weird thing is when I run the exiftool shell script rule alone it works. When I run the move rule alone it work.
Together the exiftool rename gets into a continuous loop and keeps renaming the file with a move error over and over...
These set of rules have worked without issue for over a year, then either upgrading the MacOS and/or Hazel seems to have broken it.

Code: Select all
2016-06-05 09:19:58.351 hazelworker[42205] Processing folder ~NEW PHOTOS~
2016-06-05 09:20:00.375 hazelworker[42205] IMG_20160601_192242.JPG: Rule PHOTOS matched.
2016-06-05 09:20:01.984 hazelworker[42205] Could not get Finder item for file: /Volumes/photo/~NEW PHOTOS~/IMG_20160601_192242.JPG
2016-06-05 09:20:01.985 hazelworker[42205] Could not get filesystem ID for file:///Volumes/photo/~NEW%20PHOTOS~/IMG_20160601_192242.JPG: Error Domain=NSCocoaErrorDomain Code=4 "The file “IMG_20160601_192242.JPG” doesn’t exist." UserInfo={NSURL=file:///Volumes/photo/~NEW%20PHOTOS~/IMG_20160601_192242.JPG, NSFilePath=/Volumes/photo/~NEW PHOTOS~/IMG_20160601_192242.JPG}
2016-06-05 09:20:02.032 hazelworker[42205] Error moving file from /Volumes/photo/~NEW PHOTOS~/IMG_20160601_192242.JPG to /Volumes/photo/BY_YEAR/IMG_20160601_192242.JPG: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
2016-06-05 09:20:02.032 hazelworker[42205] [Error] Move failed: Could not move file IMG_20160601_192242.JPG from folder /Volumes/photo/~NEW PHOTOS~ to folder /Volumes/photo/BY_YEAR/IMG_20160601_192242.JPG.
2016-06-05 09:20:06.315 hazelworker[42205] 2016-06-01_19.22.42_iPhone 6s Plus-IMG_20160601_192242.JPG: Rule PHOTOS matched.
2016-06-05 09:20:08.181 hazelworker[42205] Could not get Finder item for file: /Volumes/photo/~NEW PHOTOS~/2016-06-01_19.22.42_iPhone 6s Plus-IMG_20160601_192242.JPG
2016-06-05 09:20:08.181 hazelworker[42205] Could not get filesystem ID for file:///Volumes/photo/~NEW%20PHOTOS~/2016-06-01_19.22.42_iPhone%206s%20Plus-IMG_20160601_192242.JPG: Error Domain=NSCocoaErrorDomain Code=4 "The file “2016-06-01_19.22.42_iPhone 6s Plus-IMG_20160601_192242.JPG” doesn’t exist." UserInfo={NSURL=file:///Volumes/photo/~NEW%20PHOTOS~/2016-06-01_19.22.42_iPhone%206s%20Plus-IMG_20160601_192242.JPG, NSFilePath=/Volumes/photo/~NEW PHOTOS~/2016-06-01_19.22.42_iPhone 6s Plus-IMG_20160601_192242.JPG}
2016-06-05 09:20:08.214 hazelworker[42205] Error moving file from /Volumes/photo/~NEW PHOTOS~/2016-06-01_19.22.42_iPhone 6s Plus-IMG_20160601_192242.JPG to /Volumes/photo/BY_YEAR/2016-06-01_19.22.42_iPhone 6s Plus-IMG_20160601_192242.JPG: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
2016-06-05 09:20:08.214 hazelworker[42205] [Error] Move failed: Could not move file 2016-06-01_19.22.42_iPhone 6s Plus-IMG_20160601_192242.JPG from folder /Volumes/photo/~NEW PHOTOS~ to folder /Volumes/photo/BY_YEAR/2016-06-01_19.22.42_iPhone 6s Plus-IMG_20160601_192242.JPG.
2016-06-05 09:20:12.253 hazelworker[42205] 2016-06-01_19.22.42_iPhone 6s Plus-2016-06-01_19.22.42_iPhone 6s Plus-IMG_20160601_192242.JPG: Rule PHOTOS matched.
2016-06-05 09:20:14.038 hazelworker[42205] Could not get Finder item for file: /Volumes/photo/~NEW PHOTOS~/2016-06-01_19.22.42_iPhone 6s Plus-2016-06-01_19.22.42_iPhone 6s Plus-IMG_20160601_192242.JPG
2016-06-05 09:20:14.038 hazelworker[42205] Could not get filesystem ID for file:///Volumes/photo/~NEW%20PHOTOS~/2016-06-01_19.22.42_iPhone%206s%20Plus-2016-06-01_19.22.42_iPhone%206s%20Plus-IMG_20160601_192242.JPG: Error Domain=NSCocoaErrorDomain Code=4 "The file “2016-06-01_19.22.42_iPhone 6s Plus-2016-06-01_19.22.42_iPhone 6s Plus-IMG_20160601_192242.JPG” doesn’t exist." UserInfo={NSURL=file:///Volumes/photo/~NEW%20PHOTOS~/2016-06-01_19.22.42_iPhone%206s%20Plus-2016-06-01_19.22.42_iPhone%206s%20Plus-IMG_20160601_192242.JPG, NSFilePath=/Volumes/photo/~NEW PHOTOS~/2016-06-01_19.22.42_iPhone 6s Plus-2016-06-01_19.22.42_iPhone 6s Plus-IMG_20160601_192242.JPG}
2016-06-05 09:20:14.110 hazelworker[42205] Error moving file from /Volumes/photo/~NEW PHOTOS~/2016-06-01_19.22.42_iPhone 6s Plus-2016-06-01_19.22.42_iPhone 6s Plus-IMG_20160601_192242.JPG to /Volumes/photo/BY_YEAR/2016-06-01_19.22.42_iPhone 6s Plus-2016-06-01_19.22.42_iPhone 6s Plus-IMG_20160601_192242.JPG: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
2016-06-05 09:20:14.110 hazelworker[42205] [Error] Move failed: Could not move file 2016-06-01_19.22.42_iPhone 6s Plus-2016-06-01_19.22.42_iPhone 6s Plus-IMG_20160601_192242.JPG from folder /Volumes/photo/~NEW PHOTOS~ to folder /Volumes/photo/BY_YEAR/2016-06-01_19.22.42_iPhone 6s Plus-2016-06-01_19.22.42_iPhone 6s Plus-IMG_20160601_192242.JPG.
iMace
 
Posts: 2
Joined: Sun Jun 05, 2016 8:44 am

Re: Exiftool rename & move issue Mon Jun 06, 2016 10:58 am • by Mr_Noodle
Looks like the file is disappearing before Hazel can do anything to it. Do you have anything else touching that file?
Mr_Noodle
Site Admin
 
Posts: 11951
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Exiftool rename & move issue Thu Jun 09, 2016 9:25 pm • by iMace
Nope. But here is something interesting.
I copied the complete set of rules and applied them to a local folder on the Mac.
Worked perfectly.
But using them on the original folders that are hosted on a Synology NAS creates the error. It used to work but I upgraded the Synology to DSM 6 recently and I think that is when the errors started happening. Not too sure how to more forward on this issue.
iMace
 
Posts: 2
Joined: Sun Jun 05, 2016 8:44 am

Re: Exiftool rename & move issue Fri Jun 10, 2016 12:24 pm • by Mr_Noodle
Have you tried contacting Synology? They might be able to help you track it down.
Mr_Noodle
Site Admin
 
Posts: 11951
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support