Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have recently downloaded a .sit archive file.

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

share|improve this question
up vote 5 down vote accepted

The Unarchiver

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

share|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
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.

share|improve this answer
+1, good answer. You should also be able to do open -a /Applications/Stuffit\ /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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.