dateexif

Things you’d like to miss in the future...
Post Reply
skehg
Posts: 15
Joined: 20 May 2018 05:33

dateexif

Post 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?

RalphM
Posts: 1932
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: dateexif

Post 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
PicPick_672.jpg (20.45 KiB) Viewed 807 times
However, if the jpg doesn't have an exif date, the rename just adds "- " at the start of the filename.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

skehg
Posts: 15
Joined: 20 May 2018 05:33

Re: dateexif

Post 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?

skehg
Posts: 15
Joined: 20 May 2018 05:33

Re: dateexif

Post by skehg »

never mind, I found it in the Variables Section

Code: Select all

rename b , '<date yyyymmdd>-*', p;

Post Reply