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

I review a disgusting ball of knowledge each day that I'd like to think up a way to organize more automatically. The structure looks like this - Parenthesis show the number of files of that type in that subdirectory:


.tgz (2)


.tgz (3)

This equates to ~20 total untar/gunzips to extract the raw data. File is 73MB and I have little say over its structure at this point, so I just have to deal with it.

Any ideas on how to make this prettier? I can use Linux-based systems for now, but the goal is to make this self-extracting on Windows platforms.

share|improve this question
I was hunting around the web to learn about symbolic links and found the beginning of my own answer (on How to untar an entire directory full or archives? .tar: for i in ls *.tar; do tar xvf $i; done .tar.gz: for i in ls *.tar.gz; do tar xvfz $i; done – mjb Jan 28 '11 at 16:23
still need help converting this idea to Windows... so post away. – mjb Jan 28 '11 at 16:24

Your Answer


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

Browse other questions tagged or ask your own question.