Author Topic: Issue Creating Directories and Moving Files  (Read 1182 times)

jammer

  • Jr. Member
  • **
  • Posts: 13
Issue Creating Directories and Moving Files
« on: June 04, 2014, 02:28:27 PM »
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

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16879
    • ExifTool Home Page
Re: Issue Creating Directories and Moving Files
« Reply #1 on: June 04, 2014, 02:52:39 PM »
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, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

jammer

  • Jr. Member
  • **
  • Posts: 13
Re: Issue Creating Directories and Moving Files
« Reply #2 on: June 04, 2014, 03:01:05 PM »
One of those "DOH" days....thanx
jon