Activating ExpanDrive from the Command Line

Jon Shea May 7th

In version 1.15 we’ve included a little script called expan that lets you connect and eject drives right from the command line. Because nobody wants to have to hike all the way over to the gui when they’re already cranking on their keyboard in the Terminal. Am I right, or am I right? Play the expan command-line screencast

You can install expan with just a button press (and a password entry) from the ExpanDrive preferences window. It works exactly like you’re probably all ready guessing

 expan connect driveName
 expan eject driveName

The script will connect and eject every drive that has driveName in its URL or as part of its Drive Name. If you want to connect all your drives, then something like expan connect . will probably do the trick.

Finally, because even desktop apps can be Web 2.0, we’ve made a screencast so you can see expan in action.

Tags:

2 Responses to “Activating ExpanDrive from the Command Line”

  1. Jaisen Says:

    I get this:

    jmathai@[~]: expan connect highmaninto 48:53: syntax error: Expected class name but found identifier. (-2741)

  2. Jon Shea Says:

    Hey Jaisen.

    Does that happen every time?

Leave a Reply