

You can also create a keyboard shortcut for this action, making executing it even faster! To create a keyboard shortcut, do the following: Create Keyboard Shortcut for Custom Action Spaces in its filename should be replaced with dashes.Ģ. Navigate to " Quick Actions" and select " Replace Space with Dash".Left click once to select it, then right click to access the context menu.That’s it! A Quick Action named Replace Space with Dash has been successfully created. For this tutorial, we will call it – Replace Space with Dash. Go to File > Save, give it a name, then click Save. Now, you will need to save the quick action created.In " Find:", hit space key once to add a space, and in " Replace:", add a dash (-).Replace " Add Date or Time" with " Replace Text" in " Rename Finder Items:".Check " Replacing existing files" if you want your output to replace any existing item.

In " To" under Copy Finder Items, select the location you want the output to be saved.You can also find it under Library > Files and Folders on the left panel. Search for " Rename Finder Item" in the search box, then drag it to the right panel.You can either do a quick Spotlight search for Automator, or find the app inside Macintosh HD > Applications > Automator.app.

To execute the command, you just need to select the file (or files), right-click, and select the custom action created. Read more Custom Action: Replace Space with DashĪs an example for this tutorial, we will create a custom action that replaces spaces in a filename (Example: lorem ipsum dolor.jpg) with dashes (Example: lorem-ipsum-dolor.jpg). Dear reader, this is just to let you know that as an Amazon Associate I earn from qualifying purchases.Mac is a powerful machine with a high-performing operating system. Meanwhile, here are hundreds more tips for your delight. This trick will work fine the first time you use it, but after that you’ll need to manually rename the file it saves, or create a smart folder into which to save the document because this script always saves its item using exactly the same name - so you need to rename items as you go.
