Best Reviews logo
Best Reviews may receive compensation for its content through paid collaborations. See how we sustain our work & review products.
The Best Automator Scripts for macOS

The Best Automator Scripts for macOS

By István F.István F. Verified by Adam B.Adam B. Last updated: September 10, 2024 (0)
Table of contents

macOS includes a ton of great features for improving and enhancing your user experience, but one highly useful and often neglected tool is Automator. And from the name alone you might already be able to guess what this friendly robot was designed for: to perform tasks to speed up your workflow, such as automatically renaming files in a folder, resizing images, and much more.

Automator removes the burden of performing repetitive tasks manually and allows the user to create various workflows by tapping into a library of hundreds of pre-set actions, gaining the benefit of automation while also eliminating the need to write code yourself.

By doing so, Automator becomes accessible even to average Mac users, who only need to understand that an action may require certain information from a previous action in the workflow to perform a task. Of course, if you know shell commands then you can extend the power of Automator further within any given workflow – which we’ll demonstrate below.

It’s easy to create Automator scripts with just a little bit of knowledge, and by following our tips you’ll be able to make use of them to fix certain issues, perform mundane actions and generally boost your productivity and optimize the Mac’s performance.

Remove files permanently

Advanced Mac users have at their fingertips far more control over their computer than the average user, and that’s mostly thanks to shell commands. Think about the hassle of dragging files to the trash can and then manually right-clicking on the icon and selecting “Empty Trash” from the menu – not a difficult or long task, but a nuisance all the same.

Fortunately, there is an easy way to automate this process with Automator via a super-easy shell command. In essence, you’ll be creating a black hole on your system, so it is absolutely necessary to pay attention to the shell script to make sure you properly copy and paste the command from our guide to avoid the removal of any other files on your desktop.

How to remove files permanently

1

Select the “Folder” action.

2

At the top of the workflow area, select the folder that will be the target of this automation. In our example we used “DeleteTrash”.

3

Drag the “Run Shell Script” action from the Utilities library into the workflow area.

40% Discount on CleanMyMac X
CleanMyMac X logo
Switch your current Mac optimizer or antivirus for CleanMyMac X, and the company will offer you a tasty 40% discount.
Save 40% on CleanMyMac X

Automatically move and sort downloaded items

It’s easy to keep the Downloads folder uncluttered without any manual input, you just need a good Automator workflow that will sort the files based on the rules that you set. In our example, we will create a folder action that will collect all DMG files in one folder and all pictures in another. First, you need to create two new folders, which we created on our desktop and named Disk Images and My Pics.

How to automatically move and sort downloaded items

1

Select “Folder Action” from the workflow templates.

2

In the resulting workflow, select your “Downloads” folder as the target folder.

3

From the “Files & Folders” library, select “Filter Finder Items” and drag it into the workflow area.

Automate folder backup

Time Machine does a great job of backing up data, but sometimes you need a little more. Perhaps you might need a secondary copy of important data or maybe you need backups more frequently than Time Machine provides. The Automator workflow below does just that, by taking items placed into a specific folder and backing them up onto another drive.

How to automate folder backup

1

Create a new folder, and name it something like “Auto Backup”. On another drive, create a new folder and name it “Backed Up”, for example.

2

Launch Automator, and select “Calendar Alarm”.

3

Drag and drop “Get Specified Finder Items”.

As you can see, the possibilities are limited only by the number of built-in library items. However, with a little bit of programming knowledge you will push yourself beyond these limits, and as a result end up writing scripts and creating workflows for all sorts of complex tasks – such as finding duplicated files or even showing hidden files.

Best mac optimization software of 2024

Editor's choice
CleanMyMac X logo
Editor's rating:
(4.5)
User-friendly dashboard
Effective scanning and cleaning options
Various maintenance tools
Built-in malware remover
All-around protection
MacKeeper logo
Editor's rating:
(4)
Personalized remote assistance
Unique optimization tools
Anti-theft tracking
Built-in antivirus
Beginners
MacBooster logo
Editor's rating:
(3.5)
Fast scanning
User-friendly UI
Virus and malware scan
Great cleaning features
Businesses
CCleaner for Mac logo
Editor's rating:
(4)
Fast scans and cleaning
Full customization
Extensive free version
Affordable

Best mac optimization software of 2024

Editor's choice
CleanMyMac X logo
Editor's rating:
(4.5)
User-friendly dashboard
Effective scanning and cleaning options
Various maintenance tools
Built-in malware remover
All-around protection
MacKeeper logo
Editor's rating:
(4)
Personalized remote assistance
Unique optimization tools
Anti-theft tracking
Built-in antivirus
Beginners
MacBooster logo
Editor's rating:
(3.5)
Fast scanning
User-friendly UI
Virus and malware scan
Great cleaning features
Businesses
CCleaner for Mac logo
Editor's rating:
(4)
Fast scans and cleaning
Full customization
Extensive free version
Affordable
User Feedback

 Leave a reply

Your email address will not be published. Required fields are marked *


Best Reviews

Best Reviews may receive compensation for its content through paid collaborations and/or affiliate links. Learn more about how we sustain our work and review products.

©2012-2024 Best Reviews, a clovio brand – All rights reserved
Privacy policy · Cookie policy · Terms of use · Partnerships · Contact us