How to compress and decompress folder in Linux?

Categories
Other
Linux
HTML
How to move files in Linux/Unix?
Running Midnight Commander in Linux via command

How to compress and decompress folder in Linux?


Answers
 #1      0 
Packing, that is directory compression in Linux via tar program. We pack via command: tar  -czf  file_name.tar.gz  /home/adam/files If you want to see what is being packed, use option -v: tar  -vczf  file_name.tar.gz  /home/adam/files ZIP packing: zip -r backup.zip //directory/to/pack

 

 #2      0 

Thanks!

 

 #3      0 

Thanks!