Linux - how to zip a folder

 

Linux - how to zip a folder

zip -qq -r archive directory
This command would archive entire contents of directory including all the subdirectories in filenamed archive

or

zip -qq -R archive
This command would archive the entire contents of the current directory in the file archive

unzip -qq archive -d directory-location
This command would extract the contents of archive into the directory directory-location.

-qq (silent)

ATENTION: if arhive is bigger (Gbyte) is a big problem for linux .
Is more better to use P7ZIP for archive , not zip , tar,  gzip, etc… !!!

Tags: , , , ,
Posted under Bookmarks, Linux |

Post a Comment



We use third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you.