Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Is there a way to automatically unzip/untar everything I download? Preferably without installing anything (I already have enough programs running all the time) and something that works with all browsers.

share|improve this question
I have never heard of such a requirement. Why extract before you want to look at the files, and waste disk space? – nik Aug 27 '09 at 9:43
Or maybe he downloads a lot of zip files which he opens right away, and he is tired of unzipping them by hand. – Gnoupi Aug 27 '09 at 9:55
Exactly. I usually download zipped source code, library files, themes, and small utilities. I never keep them lying around as zip files. And since I always extract them anyway, it would be nice to automate it. – drby Aug 27 '09 at 10:27
up vote 2 down vote accepted

I think this is a horrible idea, it screams "security risk" to me.

Now the disclaimer is out of the way;

Why not just run a scheduled task over your downloads directory? once every 5 minutes run a shell script that essentially:

unzips all the archives (unzip *.zip)

deletes them (rm -f *.zip)

share|improve this answer
How is it a security risk? – drby Aug 27 '09 at 11:33
1. You must trust your unzip binary 1a. "unzip" could add execution routines to all files of a certain MIME type 1b. "unzip" could run with su privileges, allowing extraction to a normally privileged path like /etc/cron.daily 1c. "unzip" could change permissions of extracted files 2. even if unzip is safe, it does remove one level of file obfuscation; e.g. if a friend sent you a file they suspected of being a virus and asked you to look at it, and it auto-unzips from its clear warning zipped filename to an innocent sounding name, you may forget and curiously click -> potential Uh-oh! – adam Jan 18 '13 at 6:55

One way to do it is to select "Open with" instead of Download in the dialog box that is shown when you click on a link to zip file.

After the download the zip will be opened in the program you use to handle zip files and you can extract into desired folder.

If you always want to do this and skip the usual Download dialog, you can check the "Do this automatically for files like this from now on" check box.

share|improve this answer

The only way I can think of doing this would be to put all of the zip files in a particular location and have a program monitor the location and unzip whatever it finds. However personally I don't find unzipping things manually that stressful :-)

share|improve this answer

I don't see a point to automaticly unzip files after downloading.. Windows xp is treating zips almost just as it does with directories. So there is no need to unzip them.

But if you insist I would try to find an extension for firefox that could do this. I would forget cross-browsing and uninstallable feature.

share|improve this answer

jDownloader can unzip, unrar and even HJSplit your files. You can use it.

share|improve this answer

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.