Somehow that doesn't work. It says "File not found" while showing the path twice daisychained with " / " and " : ".

Frank Caggiano wrote:
Are you sure you are not running anything else in the workflow? You're just exporting from Aperture to a folder and running this script, right? Are you sure the filenames coming out of Aperture do not have the _original attached already?
I'll look at Exiftool again to make sure it's not something in there. BTW when you installed exiftool did you do the source install or the dmg install?
I export from Aperture and the files show as "filename.jpg". Aperture creates a folder at export and places the images there. When I run the script, Mail and Safari are open but other than that there is nothing else going on.
Interesting observation when using your first solution:
( setxtoPOSIX pathofeachFile )
1. Export from Aperture to a folder, e.g. Desktop/2014-04-24/filename.jpg
2. Duplicate that folder, resulting in: Desktop/2014-04-24 Copy/filename.jpg
(notice the space before "Copy")
3. Drag the duplicate files (not the folder itself) on to the script
4. An error says "File not found"
5. At the same time, the files in the original folder get processed