ExifTool Forum

ExifTool => Newbies => Topic started by: lnjustin on December 23, 2018, 12:24:34 AM

Title: -bash: CreateDate: No such file or directory
Post by: lnjustin on December 23, 2018, 12:24:34 AM
I am (still) trying to:
(1) move photos from DIR to /Volumes/FamilyMedia/Videos/%Y/%m
(2) rename files to YYYYMMDD_HMS_{original filename}
(3) write filesystem created and modified dates

The following code gives me the error: -base: CreateDate: No such file or directory when i run it from the command prompt on my Mac. What gives?

/usr/local/bin/exiftool -r -o . -d /Volumes/FamilyMedia/Videos/%Y/%m/%Y%m%d_%H%M%S_%f.%e '-filename<CreateDate' '-filemodifydate<createdate#' '-filecreatedate<createdate#' -ext mov -ext avi -ext dv -ext dvb -ext f4v -ext gpr -ext mts -m4v -ext modd -ext moi -ext qt -ext mp4 -ext mpeg -ext mpg -ext m2v -ext mqv -ext vob -ext wmv DIR
Title: Re: -bash: CreateDate: No such file or directory
Post by: StarGeek on December 23, 2018, 01:47:04 AM
You're using fancy quotes ' '
You want to make sure you're using regular quotes '

If you're copy/pasting to a word processor or a Google doc, you'll have to make sure of the quotes, as word processors/Google will "help" you by automatically changing them for you.  OS X also has a setting (https://www.iclarified.com/38772/how-to-disable-curly-quotes-in-mac-os-x-mavericks) that will do the same.