blitzkriegz
blitzkriegz

Reputation: 9576

How to add context menu to Finder to run a shell script

I have a shell script that takes two arguments, 1) full file path 2)file name. How can use Automator to add context menu to Finder to run the shell script with chosen file path and file name as arguments.

Upvotes: 1

Views: 2545

Answers (1)

vtukhtarov
vtukhtarov

Reputation: 1902

In Automator create a new Service, then choose Run Shell Script and just Save you Service. That is it. Also you can read next post Mac OS X services with Automator and shell scripting

Upvotes: 1

Related Questions