dateexif

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
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: 2116
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
However, if the jpg doesn't have an exif date, the rename just adds "- " at the start of the filename.
To see the attached files, you need to log into the forum.
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-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