Oke this is the situation. I have a tgz file a little bigger then 1.8Gig, When i extract it it explodes to about 17Gb + space i dont have on this mount (15Gb).
Now i have seen allot of "Huge" Log files that where also compressed into this tgz file. My question now is, is it possible to extend this command :
gunzip < my_file.tgz | tar -xv
to automaticly unzip | tar all logfiles to /dev/null ?
So ordanairy files unzip normally but if a "log" file comes by extract ir to the /dev/null device (remove it) sparing that space... ?