Get your own customer support community
 

Open ExpanDrive Files in Safari via their "Web URL"

Often when I work with ExpanDrive the files correspond to some website I own. When I was using an SFTP Program I could "open the webpage" with the click of a button. I felt that feature was missing from ExpanDrive. Secondly I work from the command line quite a bit (or at least have access to shell commands from my GUI editors). I just saw that there is a "Copy Web URL" being implemented, but I couldn't wait.

I implemented a command line ruby script that will check if you're in an ExpanDrive mounted drive (by checking the preferences file with `defaults`), and just like the built-in `open` command on Mac OS X the `expanurl` command I created will open up the file in the associated webpage. Its a simple Ruby script. I'm open for suggestions/improvements and if people are interested I could make it more robust.

Its available on GitHub so feel free to download/fork/improve:
http://github.com/JosephPecoraro/scri...

[Speaking of which, I just fixed the typo in the Error checking output!]

I've only been using ExpanDrive since MacZot and I'm really really impressed. I can't believe I went so long without it. Keep up the great work guys!

 
happy I’m happy
Inappropriate?
2 people like this idea

User_default_medium