Powered by Blogger.

Wednesday, October 6, 2010

VIEW THE CONTENTS OF A FILE INSIDE A ZIP ARCHIVE

To view the contents of a ZIP archive without extracting it into the local file system, use the following command:

unzip -p

For Example, the command given below will print out the contents of a test.txt into the console.

test.txt file is a file inside the test.zip archive.

unzip -p test.zip test.txt

0 comments

Post a Comment