New answers tagged services
Usually this happens when there are conflicting keyboard shortcuts with other apps. Here is how I troubleshoot this type of problem. Restart and prevent all login items from running. Try the shortcut you’ve assigned, in this case, Option+Command+C. If it works, that means there are other apps that prevent you from running the service. Run the apps in login ...
The secret is in the pop up menu "Services receive selected" at the top of the dialog. Set this to "files or folders". Then your Automator service will get passed the list of selected files and folders. Now you just need to use them. Add a "Run Shell Script" action. The shell script can get passed the list as either arguments or via stdin. Given that you ...
Use a Run Shell Script action. Select the /bin/sh shell and select pass input as argument Add the code for f in "$@" do rm -rf "$f" done I would also suggestion using a Ask for confirmation action before running the script. You know for safety, since rm has no way back.
Top 50 recent answers are included