On Tuesday 19 Aug 2003 11:26 am, Didier Casse wrote: > I know that but I simply failed to see the correct command in the > manpages! That's why I asked. Must be > tired after some long hours staring at the screen.
The parameter you want is '-j' which 'junks the path' - i.e. ignores it and puts all files i the directory specified by '-d' (defaults to current dir) > > Didier > > --- > PhD student > > Singapore Synchrotron Light Source (SSLS) > 5 Research Link, > Singapore 117603 > > Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] > Website: http://ssls.nus.edu.sg > > On Tue, 19 Aug 2003, fred smith wrote: > > On Tue, Aug 19, 2003 at 12:09:41PM +0200, Michael Schwendt wrote: > > > On Tue, 19 Aug 2003 17:04:56 +0800 (SGT), Didier Casse wrote: > > > > My problem is as follows: I've a zip file like this: > > > > ----------------------------------------------------- > > > > Archive: photos.zip > > > > Length Date Time Name > > > > -------- ---- ---- ---- > > > > 766669 08-19-03 16:21 Photos/CIMG0394.JPG > > > > 770011 08-19-03 16:21 Photos/CIMG0395.JPG > > > > 857205 08-19-03 16:21 Photos/CIMG0396.JPG > > > > 180574 08-19-03 16:21 Photos/SleepingPups.jpg > > > > -------- ------- > > > > 2574459 4 files > > > > ------------------------------------------------------ > > > > but I want to extract the JPG files only without extracting the > > > > Photos directory with it. Anybody knows the command with unzip? > > > > <snip> > > > > > unzip -j photos.zip > > > > To expand upon this (correct) answer: > > man unzip > > unzip > > unzip without arguments gives you a full screen summary of its commands. > > So you won't need to ask, next time,... > > > > -- > > ---- Fred Smith -- [EMAIL PROTECTED] > > ----------------------------- "And he will be called Wonderful Counselor, > > Mighty God, Everlasting Father, Prince of Peace. Of the increase of his > > government there will be no end. He will reign on David's throne and over > > his kingdom, establishing and upholding it with justice and righteousness > > from that time on and forever." ------------------------------- Isaiah > > 9:7 (niv) ------------------------------ -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list