Re: unzipping files only and NOT directories.
From: Didier Casse (didierbe_at_sps.nus.edu.sg)
Date: 08/19/03
- Previous message: Jason Dixon: "Re: AS 3.0 package list (was Re: Bare metal recovery problems)"
- In reply to: fred smith: "Re: unzipping files only and NOT directories."
- Next in thread: Gary Stainburn: "Re: unzipping files only and NOT directories."
- Reply: Gary Stainburn: "Re: unzipping files only and NOT directories."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: fred smith <fredex@fcshome.stoneham.ma.us> Date: Tue, 19 Aug 2003 18:26:03 +0800 (SGT)
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.
Didier
--- PhD student Singapore Synchrotron Light Source (SSLS) 5 Research Link, Singapore 117603 Email: slsbdfc@nus.edu.sg or didierbe@sps.nus.edu.sg 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 -- fredex@fcshome.stoneham.ma.us ----------------------------- > "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) ------------------------------ > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Jason Dixon: "Re: AS 3.0 package list (was Re: Bare metal recovery problems)"
- In reply to: fred smith: "Re: unzipping files only and NOT directories."
- Next in thread: Gary Stainburn: "Re: unzipping files only and NOT directories."
- Reply: Gary Stainburn: "Re: unzipping files only and NOT directories."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
Loading