Page 1 of 1
dateexif
Posted: 10 May 2022 02:03
by skehg
I tried using the example in the scripting help for rename and it didn't work
Code: Select all
rename , '<dateexif yyyymmdd.hhnnss>-*', p;
It seems like it would be a good script to have. Is it an issue that I'm trying to run it through a catalogue, or is it broken?
Re: dateexif
Posted: 10 May 2022 03:03
by RalphM
I've got the following as a CFA and it works well:
Code: Select all
|"Timestamp MC with EXIF-Date"\;*.jpg>::timestamp "mc", '<dateexif>'
And I just tested your example with the following catalog entry and it works as well:
PicPick_672.jpg
However, if the jpg doesn't have an exif date, the rename just adds "- " at the start of the filename.
Re: dateexif
Posted: 10 May 2022 05:43
by skehg
OK I missed what a exif date was my bad.
Is there a way to add a now date stamp to a file?
Re: dateexif
Posted: 10 May 2022 05:46
by skehg
never mind, I found it in the Variables Section
Code: Select all
rename b , '<date yyyymmdd>-*', p;