Automator script appends date multiple times to filenames

Trying to figure out why this Automator script appends the date some 8-9 times to files added to TEST folde on the desktop.





So, an added file called AAA would become AAA 5/9/26 5/9/26 5/9/26 5/9/26.........


Thanks

iMac (2017 – 2020)

Posted on May 9, 2026 6:27 PM

Reply
Question marked as Top-ranking reply

Posted on May 10, 2026 1:55 AM

A folder action will run every time there is a write action in that drop folder. This includes changing the dropped filename in that folder. You would need to rename the dropped file after it is moved out of that drop folder to another folder.


The following folder action workflow was tested on macOS 26.4.1. It moves the dropped file to another folder, where it then appends the date once. blank.pdf becomes blank_2026-05-10.pdf.


I never punctuate my filenames with spaces and because I also do alot of activity in the Terminal, I don't use UNIX path separators (e.g. '/') in a filename.


1 reply
Question marked as Top-ranking reply

May 10, 2026 1:55 AM in response to mrokloricred37

A folder action will run every time there is a write action in that drop folder. This includes changing the dropped filename in that folder. You would need to rename the dropped file after it is moved out of that drop folder to another folder.


The following folder action workflow was tested on macOS 26.4.1. It moves the dropped file to another folder, where it then appends the date once. blank.pdf becomes blank_2026-05-10.pdf.


I never punctuate my filenames with spaces and because I also do alot of activity in the Terminal, I don't use UNIX path separators (e.g. '/') in a filename.


Automator script appends date multiple times to filenames

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.