wood burning stoves 2.0*
The moose likes Mac OS and the fly likes Can I create a desktop icon that is a bash script? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Can I create a desktop icon that is a bash script?" Watch "Can I create a desktop icon that is a bash script?" New topic
Author

Can I create a desktop icon that is a bash script?

Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4650
    
    5

I'm working with a friend who simply can't use the shell/Terminal.

I need a couple of quick scripts to connect to their sandbox and do a git push.

Can I make the script executable? Are there any tricks or magic?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61106
    
  66

Name the file with the .command file type, and make sure that it has execute permissions.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Can I create a desktop icon that is a bash script?