File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
Reply 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: 3688

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 opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50691

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
 
subject: Can I create a desktop icon that is a bash script?
 
Threads others viewed
java script with servlet
database access in shell script
what shell is this
Browsing with the back button
How can I apply a XSL to the result of another XSL?
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com