![How to compress a Linux Directory](https://brewedbrilliance.net/wp-content/uploads/2021/08/How-to-compress-a-Linux-Directory.jpg)
Views: 22
0
0
Read Time:23 Second
Something that a lot of us are always looking for is how to compress a Linux Directory.
Nothing easer than execute from the command prompt this:
tar -zcvf name-of-the-archive-we-want.tar.gz /path/to/the/folder
This will create the name-of-the-archive-we-want.tar.gz file that can be extracted using this command
tar -zxvf name-of-the-archive-we-want.tar.gz
Hope you found this helpful
Post Views: 6