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
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: 60996
    
  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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can I create a desktop icon that is a bash script?