Command to zip a folder – linux ubuntu

 

zip folder-name *

It compress all the files in the respective folder and create an archive folder-name.zip

zip Рr  folder-name *

It  compress all the data including its sub folder contents

 

 

Leave a Reply

Your email address will not be published. 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=""> <s> <strike> <strong>