* Extracting a single file from a zip archive
@ John J. Boyer
` Geoff Shang
0 siblings, 1 reply; 2+ messages in thread
From: John J. Boyer @ UTC (permalink / raw)
To: blinux-list
How do I extract a single file from a zip archive, such as a book
downloaded from Bookshare? I wish to extract only the xml file. I've
looked at the man page, but it isn't any help.
Thanks,
John
--
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Extracting a single file from a zip archive
Extracting a single file from a zip archive John J. Boyer
@ ` Geoff Shang
0 siblings, 0 replies; 2+ messages in thread
From: Geoff Shang @ UTC (permalink / raw)
To: Linux for blind general discussion
On Thu, 12 Jun 2014, John J. Boyer wrote:
> How do I extract a single file from a zip archive, such as a book
> downloaded from Bookshare? I wish to extract only the xml file.
First, you can run:
unzip -Z <zipfile>
to see what's in it. Then run:
unzip <zipfile> <file>
Note that if there is a subdirectory in the zipfile, you'll need to
specify it. If you don't want this subdir created when you extract the
file, use the -j switch.
This is valid for Unzip 6.0.
HTH,
Geoff.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
Extracting a single file from a zip archive John J. Boyer
` Geoff Shang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).