Author Topic: Copy files and messages  (Read 1544 times)

jsetsaas

  • Jr. Member
  • **
  • Posts: 11
Copy files and messages
« on: July 27, 2010, 10:09:05 AM »
Hi,

When I'm copying files using EXIFTOOL, i can force the name output using the -v0 option.

exiftool -v0 -o c:\usrn\diatest\dest\noexif\ "-FileName<CreateDate" -d "c:\usrn\diatest\dest\%Y\%Y.%m\%Y.%m.%d@%H.%M.%S-%%c-JES.%%e" c:\usrn\diatest\src


The output (to be parsed by my app) looks like this.
======== c:/usrn/diatest/src/2010.07.24@07.50.12-0-jes.ARW
Nothing changed in c:/usrn/diatest/src/2010.07.24@07.50.12-0-jes.ARW
======== c:/usrn/diatest/src/2010.07.24@07.50.12-1-jes.ARW
Nothing changed in c:/usrn/diatest/src/2010.07.24@07.50.12-1-jes.ARW
======== c:/usrn/diatest/src/248079_l_srgb_s_gl.jpg
Nothing changed in c:/usrn/diatest/src/248079_l_srgb_s_gl.jpg
...

However, there is no way to to detect whether a file is missing the CreateDate (and the file being copied to the noExif folder).
Any idea how to detect this difference (without having to check this on all files, as this would be a performance issue).

Best regards

John

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 14554
    • ExifTool Home Page
Re: Copy files and messages
« Reply #1 on: July 27, 2010, 11:13:32 AM »
If you use -v instead of -v0, the output will include the new file name.

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