Thursday, December 22, 2016

zip/unzip



If you are referring specifically to the Zip file format, you can simply use the zip and unzipcommands.
To compress:
zip squash.zip file1 file2 file3
or to zip a directory
zip -r squash.zip dir1
To uncompress:
unzip squash.zip
this unzips it in your current working directory.

No comments:

Post a Comment