Thursday, 15 November 2018

How to Zip and unZip Files to a specific directory in CentOS 7



Zip is a simple and commonly used utility for compression and decompression folders that can compress from level 1 to 9.
Create a Zip file:

[root@linuxcnf ~]# zip –r FILENAME.zip /PATH/TO/FOLDER/

Unzip or Extract Zip File to specific directory:

[root@linuxcnf ~]# unzip FILENAME.zip -d /PATH/TO/DESTINATION/DIRECTORY/

File unzipped.

No comments:

Post a Comment