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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android 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: 4646
    
    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: 60810
    
  65

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]
 
wood burning stoves
 
subject: Can I create a desktop icon that is a bash script?
 
Similar Threads
Browsing with the back button
java script with servlet
database access in shell script
How can I apply a XSL to the result of another XSL?
what shell is this