Thanks Michael... I've been searching through the man pages but failed to find that simple command. You saved me a lot of headache! :-)
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, Michael Schwendt wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > 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? > > > > And suppose that I have more complex directories like > > > > Photos/myphotos/whatever/pics/here/MYFILE.JPG > > > > in the zip file, and I wish to extract ONLY the MYFILE.JPG in the current > > directory. What do I do? Thanks. > > unzip -j photos.zip > > - -- > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE/Qfdk0iMVcrivHFQRAmDaAJ9jWmbhQx2SIEG4JY5f7FPZ+t0HUQCfTH8L > sstT6vuUH3JKny81g1R+A9A= > =B68p > -----END PGP SIGNATURE----- > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list