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:
.tar
.tgz (2)
.tar
.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.
ls *.tar; do tar xvf $i; done .tar.gz: for i inls *.tar.gz; do tar xvfz $i; done – mjb Jan 28 '11 at 16:23