Home > Bookmarks, Linux > Linux – how to zip a folder

Linux – how to zip a folder

September 21st, 2007 Leave a comment Go to comments

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… !!!

  1. No comments yet.
  1. No trackbacks yet.
GoCache - ByREV-Cache v1.0 - live served in : 0.140767 sec (gzip)