Shortcuts quick action help - when renaming to creation date, add numerical suffix to files with same date
Hello,
I'm trying to create a quick action in Shortcuts that renames the selected files by their creation date. This is for organising holiday photos taken on multiple devices (iPhone, SLR camera) that use different file naming systems. However, some photos appear to have been taken within the same second, so the shortcut errors.
How can I make it so the shortcut adds a numerical suffix onto the end of the files after they have been renamed so that they both can be renamed to their creation date? I've also tried having it add milliseconds onto the creation date but that doesn't seem to be an option. Basically, similar to the 'Keep Both' option you have when renaming in finder but add that into the shortcut.
Thanks for any help!
This is the shortcut as it currently stands:
Current date created format is: Custom:
yyyy-MM-dd_HH-mm-ss
Error message:
Mac mini, macOS 26.6