
Something that a lot of us are always looking for is how to zip 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 thename-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
Share this content: