
If I posted this in the wrong area, please let me know and I will repost elsewhere. I don't think there is a task in automator where I could keep a collection of usernames I want to remove or another option would be to reference a plain text file that has all of the usernames. I'm sure there is a more efficient way to do this, I'm just not sure how to go about it. The problem is that I've added so many Rename Finder Item tasks that the application has become bloated and takes forever to open or even run the tasks when files are dropped on the app.

The task(s) I've created will find the username (so in my example, " (jsmith)") and then remove it, leaving the file name as "file name.docx". I created an Automator application that renames a file by removing a specified word and I can select a batch of files and drop them on the application to perform this task.īasically, I get files that will have a random file name followed by a username in parenthesis (ex: "file name (jsmith).docx"). Now whenever you go to the Finder, you can select a group of files or folders, and then right-click them and select your workflow from the Services submenu of the contextual menu.I'm not a coder and have a basic understanding of coding which is why I'm using Automator. Save - name it something like 'Rename Files' Under options click 'Show his action when the workflow runs" so you have the choice to decide what and how you wish to rename the files. I would tweak it here and choose 'Make Sequential' from the drop down menu. When you do this, Automator will issue a warning that this action will alter existing files, and provide you with an option to add an action to first copy the files instead of altering them. your workflows to automatically create a new file on Mac, batch rename files. Then choose Service from the window of available workflow types (this option will look like a gear).Īdjust Service inputs - so be sure to choose "files or folders" from the first drop-down menu at the top of the workflow, and then choose Finder from the second menu.ĭrag the Rename Finder Items option from the action library (to the left of the window, under the Files & Folders category) to the workflow window. This post introduces what the Automator is on Mac and how to use it. Open Automator and create a new workflow file (press Command-N or choose New from the File menu).

Great tip, set this up once, and use it forever!
