Issue Creating Directories and Moving Files

Started by jammer, June 04, 2014, 02:28:27 PM

Previous topic - Next topic

jammer

Phil:

Win7-64 Exiftool 9.62

-I am having issues with the creation of directories and moving of files from the example in the documentation.
====================
D:\UserData\exif_use_case>exiftool -ver
9.62

D:\UserData\exif_use_case>dir
Volume in drive D has no label.
Volume Serial Number is F476-AD0E

Directory of D:\UserData\exif_use_case

06/04/2014  01:29 PM    <DIR>          .
06/04/2014  01:29 PM    <DIR>          ..
02/18/2014  03:29 PM         1,747,173 008.jpg
04/12/2014  12:07 PM         1,421,466 025.jpg
04/16/2014  02:37 PM                78 GenInfo.csv
               3 File(s)      3,168,717 bytes
               2 Dir(s)  422,155,620,352 bytes free

D:\UserData\exif_use_case>exiftool -datetimeoriginal *.jpg
======== 008.jpg
Date/Time Original              : 2014:02:18 14:29:10
======== 025.jpg
Date/Time Original              : 2014:04:12 12:07:49
    2 image files read

D:\UserData\exif_use_case>exiftool '-Directory<DateTimeOriginal' -d %Y_%m_%d .
The system cannot find the file specified.

-Don't understand the error condition being reported.
Jon A. Miller

Phil Harvey

Hi Jon,

In Windows, you need to use double quotes around arguments.  The single quotes are for Mac or Linux.

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

jammer