ExifTool Forum

ExifTool => Newbies => Topic started by: copyrightimage on November 05, 2012, 07:54:04 AM

Title: Formatting -CreateDate in an ARG file
Post by: copyrightimage on November 05, 2012, 07:54:04 AM
Hello everybody, my first post so please be kind!

I'm after formatting datetime so that I don't get the time also, its easy to do on the command line

-createdate -d %d/%m/%y

however when I call the same line as an arg file I get nothing.
I have tried various escape characters but to no avail, would love to know the answer to this one, any help appreciated.

Many thanks

Stephen
Title: Re: Formatting -CreateDate in an ARG file
Post by: Phil Harvey on November 05, 2012, 07:57:27 AM
Hi Stephen,

Quote from: copyrightimage on November 05, 2012, 07:54:04 AM
Hello everybody, my first post so please be kind!

Kind?  I don't know...

I'll try. :P

QuoteI'm after formatting datetime so that I don't get the time also, its easy to do on the command line

-createdate -d %d/%m/%y

however when I call the same line as an arg file I get nothing.

The argfile is one argument per line, so it should look like this:

-createdate
-d
%d/%m/%y


(sorry for the underline, I realize that wasn't very kind but I wanted to emphasize this because it is a common mistake)

- Phil
Title: Re: Formatting -CreateDate in an ARG file
Post by: copyrightimage on November 05, 2012, 08:24:38 AM
Thanks Phil, much appreciated, I'm usually the one telling somebody off for not reading instructions carefully, funny to be on the receiving end!

My arg file work fine now, many thanks for this and all your efforts in making something so useful.

Stephen