Batch Rename causes problems

Post Reply
Ralf
Posts: 94
Joined: 19 Jan 19 14:37

Batch Rename causes problems

Post by Ralf » 02 Apr 21 17:05

I found strange behavior in V8 (status 6.0.0.3641)

A file with the name "-threema-20200311-135948-82c071583c1687d8" has the "% xmp: photoshop: DateCreated" set.
I would like to put this in front of the file name with partial date-time

DateCreate:
01.jpg
01.jpg (1.27 KiB) Viewed 433 times
Rename Batch:
02.jpg
02.jpg (2.33 KiB) Viewed 433 times
02

Source Filename:
-threema-20200311-135948-82c071583c1687d8

Target Filename should:
2020_03_11-15_01_03-threema-20200311-135948-82c071583c1687d8

Target Filename is:
2020-03-11T15_01_03.727+01_00-{left=10;mid=11,18}2020-03-11T15_01_03.727+01_00-threema-20200311-135948-82c071583c1687d8

PSU uses the script parts 1: 1 instead of implementing them
Ralf
---------------------------------------------------------------------------------
Hobby photographer with many pictures (> 100000) of the family over generations.
(Excuse my english)

Hert
Posts: 6811
Joined: 13 Sep 03 7:24

Re: Batch Rename causes problems

Post by Hert » 03 Apr 21 12:34

Extracting parts of a date with macro parameters will not work. But you can add date parts by selecting them from the options:

MacroWithDescriptionDate.png
MacroWithDescriptionDate.png (90.16 KiB) Viewed 394 times

BTW; I hope you realize that photoshop:DateCreated is supposed to contain the date that the metadata was added to the file. That date should not represent the date of the picture. You should use the Exif date fields for "DateTimeOriginal" and/or "DateTimeDigitized" for that. They are in the Technical section of the Image Details. Anyway, just as a sidenote. You probably have lots of legacy using this photoshop:DateCreated field.
This is a user-to-user forum. If you need product support then please send a message

Ralf
Posts: 94
Joined: 19 Jan 19 14:37

Re: Batch Rename causes problems

Post by Ralf » 05 Apr 21 12:08

@Hert, thank you for the information,
yes I am aware that it is not the "right" date. I have many files in a folder that I only want to roughly sort and store / archive for historical reasons, the only date I have in the file is the DateCreated. The date comes very roughly with the date when it was created and immediately sent with a messenger - unfortunately.

I created it in the Rename window from the context menu and thought that it would work that way. Was the opinion with V5 that was also the case.
So I just tested it again and I noticed the following, it works with the left ...

See screenshots (the individual windows in yellow).

:!: Error after File Rename
A.png
A.png (60.01 KiB) Viewed 335 times
B.png
B.png (120.69 KiB) Viewed 335 times
:!: then comes an error
left = 10 is okay
left = 10; mid = 14.20 not okay
C.png
C.png (160.69 KiB) Viewed 335 times

Code: Select all

Original Dateiname:   IMG_20190417_140957
Teil links:        2019-04-17---IMG_20190417_140957
Teil links, Mid:       ---IMG_20190417_140957
can it be that this is a mistake?
Ralf
---------------------------------------------------------------------------------
Hobby photographer with many pictures (> 100000) of the family over generations.
(Excuse my english)

Hert
Posts: 6811
Joined: 13 Sep 03 7:24

Re: Batch Rename causes problems

Post by Hert » 05 Apr 21 12:55

Ralf wrote:
05 Apr 21 12:08
it was created and immediately sent with a messenger - unfortunately.
I see that here too.
That is not an error. It's a left over message that should have been removed.
It will be displayed after adding a new batch effect in the Batcher. You can ignore it.
This is a user-to-user forum. If you need product support then please send a message

Ralf
Posts: 94
Joined: 19 Jan 19 14:37

Re: Batch Rename causes problems

Post by Ralf » 05 Apr 21 17:39

thanks for the information.
One more question, the second "error" is that an "error" or should the function not work there in the Rename area.
Sorry if I ask, it may be because of my English that I don't always understand everything correctly (with Google)
Ralf
---------------------------------------------------------------------------------
Hobby photographer with many pictures (> 100000) of the family over generations.
(Excuse my english)

Post Reply