1

I am working with a read only file system through Putty SSH. I have lots of zip files which contain multiple directories. I want to read a .kml file stored within one of these sub-directories. Is there a way to do this?

I have accessed the list of files with unzip -l

1 Answer 1

2
unzip -p archive.zip the-file-name-here

From the unzip man page:

-p

extract files to pipe (stdout). Nothing but the file data is sent to stdout, and the files are always extracted in binary format, just as they are stored (no conversions).

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .