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.

  • I was hunting around the web to learn about symbolic links and found the beginning of my own answer (on linuxreviews.org/beginner/#toc18): 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 – mbb Jan 28 '11 at 16:23
  • still need help converting this idea to Windows... so post away. – mbb Jan 28 '11 at 16:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.