Rename error "The system cannot find the file specified."

Started by txastro, February 15, 2012, 03:56:53 PM

Previous topic - Next topic

txastro

Hello,
I'm trying to rename a test image.  I get the error message "The system cannot find the file specified.".  This confuses me since I can do other
things on the same image.  For instance, I can display the make and model of the camera, but not rename.  I've included a copy of the command line
entries.  Does anyone have any suggestions?

Thanks,
Xavier

C:\test>exiftool -make -model -ext jpg .
======== ./test.jpg
Make                            : Canon
Camera Model Name               : Canon PowerShot SD870 IS
    1 directories scanned
    1 image files read


C:\test>exiftool '-filename<%f_${make}.%e' -ext jpg .
The system cannot find the file specified.

Phil Harvey

The problem is the quotes.  In Windows shells you must use double quotes instead of single quotes.

- 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 ($).

txastro

Yes, that was it!  I looked over that command several times, but I never noticed the single quotes.

Thanks.

Xavier