Error Opening File

Started by davenwar, March 06, 2011, 12:38:05 AM

Previous topic - Next topic

davenwar

Hello!

I'm running the following command, but getting "Warning: Error opening file - c:/documents and settings/dave/pictures/....etc..etc..

exiftool -tagsfromfile %d%f.xmp -r -m -overwrite_original -fast -P -q -e -n --ext crw --ext cr2 "c:\documents and settings\dave\pictures"



Any help would be appreciated!

Thanks,
Dave

Phil Harvey

Hi Dave,

If you have permission to open the directory, then the name must be typed wrong.  You can use tab completion at the command line to help get this right (if you use backslashes instead of forward slashes, although either is fine for exiftool, only backslashes will work with tab completion).  Just type the first few characters of each directory name then press TAB to complete the name.  I didn't think that Windows was case sensitive, but if it is this could be your problem since "Documents and Settings" is capitalized.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

davenwar

Thanks for the reply and thanks for creating ExifTool!

To make a long story short, ExifTool was working fine and I had typed the command okay as well.  ExifTool was looking for a matching XMP file for every one of my 15k+ images, many of which do not have one...there were enough errors that I thought it wasn't working at all, but it was.

More info (might help others at some point):
I was following the instructions here: http://research.gerger.com/?view=lab:en&aID=14516&com=2 to migrate my iMatch database to Lightroom.

Thanks again Phil!