How to zip a Linux Directory

How to compress a Linux Directory

How to zip a Linux Directory

Views: 43
0 0
Read Time:23 Second

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

fce70581d3812712df039a05e6d32a7d How to zip a Linux Directory

About Post Author

brewedbrilliance.net

Experienced software architect with a spasmodic passion for tech, software, programming. With more than 20years of experience I've decided to share all my knowledge in pills through this blog. Please feel free to contact me if there is any topic that you would love to cover
happy How to zip a Linux Directory
Happy
0 %
sad How to zip a Linux Directory
Sad
0 %
excited How to zip a Linux Directory
Excited
0 %
sleepy How to zip a Linux Directory
Sleepy
0 %
angry How to zip a Linux Directory
Angry
0 %
surprise How to zip a Linux Directory
Surprise
0 %

Share this content:

Experienced software architect with a spasmodic passion for tech, software, programming. With more than 20years of experience I've decided to share all my knowledge in pills through this blog. Please feel free to contact me if there is any topic that you would love to cover

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x