automator folder action adds date recursively
Hi,
I want to create a folder action with Automator to add the current date to the filename. My goal is that the date is appended to file names as the files are added to a particular folder.
I've made a folder action with Automator to do this. This consists of 2 actions: Get Specified Finder Items, followed by Rename Finder Items: Add Date or Time. See the screenshot below.
This runs but it recursively adds the date over and over. Thus if I drag a file named horse to the folder it renames the file as horse 11-27-2018 11-27-2018 11-27-2018 ...
I wonder what's going on? Is there a way to construct the Automator Script to avoid this? (The script also runs and acts recursively in the same problematic way if I remove the Get Specified Finder Items action.)
Any help will be appreciated.
thanks,
John
MacBook Pro (Retina, 15-inch, Late 2013), macOS Mojave (10.14)