Skip to main content
10 events
when toggle format what by license comment
Oct 1, 2012 at 14:11 vote accept giorgio79
Sep 30, 2012 at 22:43 comment added cas As others have pointed out, tar has to read .tar.gz files sequentially, so it can't find out what's after "huge_mysql_file.gz" without reading it in to get to the next file in the archive. If you need to view the contents of a .tar.gz file frequently, you can always create a text file containing the files list. e.g. tar tvzf my.tar.gz > my.tar.gz.list. you can then read that .list file with less or grep it etc.
Sep 30, 2012 at 12:56 comment added polemon I don't really understand you problem here, but it seems that inside that .tar.gz are other .gz files? If that's the case, then the archive is wrong to begin with. a .tar.gz file, is a gziped tar-file, which contains a collection of uncompressed files. Everything else is pretty much done by an idiot.
Sep 30, 2012 at 12:22 answer added miracle173 timeline score: 7
Sep 30, 2012 at 9:16 comment added giorgio79 It always gets stuck at a large gz file, and when I look at top in another shell window I can see gzip running next to tar.
Sep 30, 2012 at 9:01 history tweeted twitter.com/#!/StackUnix/status/252332270667579392
Sep 30, 2012 at 8:04 comment added Thor Try gzip -dc my.tar.gz | tar tf -.
Sep 30, 2012 at 7:27 comment added miracle173 why do you think that tar is gunzipping the file?
Sep 30, 2012 at 6:29 review First posts
Sep 30, 2012 at 15:03
Sep 30, 2012 at 6:24 history asked giorgio79 CC BY-SA 3.0