I have recently downloaded a .sit archive file.

Is there a way to decompress it at the command line?


The Unarchiver

Includes a commandline tool. Can unpack some SIT files. I think I have experienced problems with a few SIT files though.

| improve this answer | |
  • The Unarchiver provides the tool unar, that you have to download separately and install yourself. – zneak Sep 20 '10 at 15:17
  • 1
    Yep - appears to work well on sit files, and has been recently updated (July 2010). – dtlussier Sep 20 '10 at 16:10

I’m sure that Stuffit Deluxe has two command line utilities called stuff and unstuff (they're in /usr/local/bin) as far as I can remember. But you need the Deluxe payware version.

If paying is not your idea, you could technically do the same using the free Stuffit Expander. You have to invoke it from the Terminal with something like:

osascript -e 'tell application "StuffIt Expander" to expand posix file “/path/to/full/file/compressedfile.sit”’

It might not be the best, but it should work.

| improve this answer | |
  • +1, good answer. You should also be able to do open -a /Applications/Stuffit\ Expander.app /path/to/the/file.sit – Josh Feb 1 '11 at 20:46
  • The last time I tried the official StuffIt it was spectacular bloatware. I'd avoid it if at all possible. – Reid Nov 9 '11 at 2:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .