-bash: CreateDate: No such file or directory

Started by lnjustin, December 23, 2018, 12:24:34 AM

Previous topic - Next topic

lnjustin

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

StarGeek

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 that will do the same.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype