Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.6: Use a Service to toggle trash can off and on' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Use a Service to toggle trash can off and on
Authored by: solitario on Feb 11, '10 10:20:55AM
Instead of creating a Service to toggle the trash can off or on you could create a service to remove the files directly instead:
  • Set the service to accept files or directories in Finder.
  • Add the action to run a shell script with the input as arguments.
  • And create the shell script as following:
    for f in "$@"
    do
    	rm -rf "$f"
    done
    


[ Reply to This | # ]