Hello,
I want to rename the files in my catalog adding the date to the filename.
Therefore I choose operations-rename-file and then take the date from the file and add some "-","." and ":".
Everything works, except the ":" which is shown correctly in the preview.
But after the renaming happened the ":" is replaced by a "-" (dash).
Am I doing something wrong?
Any hint is appreciated.
Warm regards,
Alex
rename file with date
rename file with date
Macbook Pro. Mac OS Catalina (10.15.5)
Re: rename file with date
With Windows ":" is one of the characters that is not allowed in filenames.
Jim (Photo Supreme: AMD Quad-Core A8-5500 Accelerated Processor 3.2 GHz; internal AMD Radeon™ HD7560D; 4GB DDR3 SDRAM; Win10x64)
Re: rename file with date
I am using Mac OS. Manual renaming with „:“ works fine.
Macbook Pro. Mac OS Catalina (10.15.5)
Re: rename file with date
You should never use colons in file names on macOS.
While the Unix layer allows colons in a file name, the Mac layer doesn't.
In Finder, if you try to rename a file with a colon then Finder gives an error: And if you use TextEdit and try to enter a colon in the file name then it is instantly replaced with a dash. This for the same reason.
Maybe consider using the date part like %FileName-%dd.%mm.%yyyy-%hh%nn.%FileExtension (e.g IMG_3880-27.04.2019-0215.jpg)
While the Unix layer allows colons in a file name, the Mac layer doesn't.
In Finder, if you try to rename a file with a colon then Finder gives an error: And if you use TextEdit and try to enter a colon in the file name then it is instantly replaced with a dash. This for the same reason.
Maybe consider using the date part like %FileName-%dd.%mm.%yyyy-%hh%nn.%FileExtension (e.g IMG_3880-27.04.2019-0215.jpg)
This is a User-to-User forum which means that users post questions here for other users.
Feature requests, change suggestions, or bugs can be logged in the ticketing system
Feature requests, change suggestions, or bugs can be logged in the ticketing system
Re: rename file with date
Thanks for the answers. Will use then a different character.
Macbook Pro. Mac OS Catalina (10.15.5)