Skip macOS' Trash and Delete Right Away

Let's create an Automator app that will skip the Trash and delete files immediately, from the GUI.


1) Open Automator and choose Application and click Choose.

2) On the left panel, click on Utilities and locate the Run Shell Script action. Drag it to the right side panel.


3) Now delete the "cat" example command cut the script below and paste it there.

for i in "$@"
rm -rf "${i}"

4) In the upper right corner change from to stdin to as argument.


5) Now let's create the app, click on File > Save. Type a name for the application and save it on the Desktop.

6) Add an icon to that application.

I picked this one:


7) Open the image using Preview and press CMD+A to select the entire image. Now press CMD+C to copy it.

8) Select the newly create app and press CMD+I to bring the Info panel up. Click on the little icon in the top left corner and press CMD+V to paste the icon into the app.


9) You can now move the newly created app to the /Applications folder then drag it to the Dock for easy access.

That's it!

Now everything you drop on top of this app will be immediately deleted!

{{ message }}

{{ 'Comments are closed.' | trans }}