Hi - I embedded folder names that I'd like to sort my files into a TAG called ReelName. In this example the ReelName is '2010.05 - Noa'.
I'm getting an error creating the directory using this command: exiftool '-directory<ReelName' 2010-05-27_0306_4688502941_o.jpg
The error is:
Error creating directory 2010.05 - Noa
Warning: Error creating directory for '2010.05 - Noa/2010-05-27_0306_4688502941_o.jpg' - 2010-05-27_0306_4688502941_o.jpg
Any ideas on how to correct? Is it because of the spaces within the new directory name? Thank you!
It appears that exiftool is trying to create a directory named 2010.05 - Noa/2010-05-27_0306_4688502941_o.jpg, not a directory named 2010.05 - Noa. Double check the actual value of ReelName with exiftool (exiftool -g1 -a -s -ReelName 2010-05-27_0306_4688502941_o.jpg). Also double check there isn't already a file named 2010-05-27_0306_4688502941_o.jpg in the 2010.05 - Noa directory.
ReelName seems to be set correctly and there aren't any other folders already created that might conflict with it:
$ exiftool -g1 -a -s -ReelName 2010-05-27_0305_4689132410_o.jpg
---- IFD0 ----
ReelName : 2010.05 - Noa
Greetings Zanco.. Maybe there can be permission problem, so to try command in same directory like ... mkdir TestFolder
Thought that at first too but permissions are correct and I can mkdir without issues. Same issue as sudo.
The only other issues I find on the forum is sometimes tags to have "invisible non-printable control characters".
So maybe to do experiments with -directory'<${ReelName;}' or -directory'<SomeOtherTag' to test the results.
Are you able to share the image so we can take a look at it?
success! this was the issue and it works with this change. thank you!
Quote from: Luuk2005 on November 29, 2020, 01:58:18 PM
The only other issues I find on the forum is sometimes tags to have "invisible non-printable control characters".
So maybe to do experiments with -directory'<${ReelName;}' or -directory'<SomeOtherTag' to test the results.