unzip hate

[prev] [thread] [next] [lurker] [Date index for 2007/02/20]

From: Robert Rothenberg
Subject: unzip hate
Date: 15:12 on 20 Feb 2007
Take the following zip file

$ unzip -l foo
Archive:  foo.zip
  Length     Date   Time    Name
 --------    ----   ----    ----
        0  02-20-07 15:05   foo/
        0  02-20-07 15:05   foo/file1
        0  02-20-07 15:05   foo/bar/
        0  02-20-07 15:05   foo/bar/file2
 --------                   -------
        0                   4 files


Now try this:

$ unzip -l foo foo/*
Archive:  foo.zip
  Length     Date   Time    Name
 --------    ----   ----    ----
        0  02-20-07 15:05   foo/file1
 --------                   -------
        0                   1 file

Oh, but what if I also want to list all files below foo?  There's no
equivalent -r option for recursive.  So I cannot list or extract files in
foo/bar without specifying them manually.


Rob

Generated at 06:02 on 21 Feb 2007 by mariachi 0.52