Even experienced users sometimes do not always know about all the possibilities of Automator. At first it may seem that the program is quite complicated to learn, but understand, you can see that the control is pretty intuitive and clear. In the example of this article we will explain how you can quickly and easily delete files in macOS, avoiding unnecessary link – basket.

If you have experience of using macOS, you probably know that any file or folder is deleted immediately, but first go to the trash. Despite the fact that the OS provided the key combination Command + Option + Delete to remove files directly, this step is necessary each time to confirm additionally that it is not always convenient. Fortunately, this problem is easily solved. For this we need to use a utility Automator.

  • You must start the application “Automator” in any convenient way.
  • In the window the document Type you should choose Quick action.
  • Now we need to find the process “Run shell script“. For this we can use search.
  • Add the process in the right part of the application.
  • Custom in the following way: the Process obtains the current: Files and folders. As the program indicated the Finder. Pass input: as arguments.
  • In the displayed code is correct echo for rm.
  • Save the service via the menu or using the shortcut Command + S. Give it an appropriate name.

Now in the context menu we can see the new item.

For convenience, it remains only to assign the key combination:

  • Go to “System settings” — “Keyboard” — “shortcut keys”.
  • Select menu “Services”.
  • Finding our quick action, assign your own key combination.

Everything is ready. Now you can delete files and folders, bypassing the recycle bin.