Recursively Zip a Directory and Files on Linux

Short and sweet! Just remember that the finished zip filename is the first argument and the directory you wish to recursively zip comes after.

zip -r name_of_your_directory.zip name_of_your_directory

Related posts:

  1. Recursively Zip Up a Directory while Excluding Certain Files Based on File Extension Type
  2. Reading, Writing, Removing Files and Directories in Ruby
  3. Protect a Directory with Apache, .htaccess and httpasswd
  4. Rails Paperclip Plugin Options for Attaching Files
  5. Listing Files and Directories with PHP
This entry was posted in Linux and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>