tar -zcvf the-archive-name.tar.gz the-directory
Posted in linux
3
2:55 am, July 12, 2020

loop through each directory in a target directory and compress them

this one loops through each of the target directory and also compresses each one

Scripts

tar -zcvf the-archive-name.tar.gz the-directory

View Statistics
This Week
3
This Month
17
This Year
0

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

Join me on Substack if you want me to send you a collection of the things i have done or found or read for the week. Or follow me on twitter if you prefer, i dont post much but i probably should!

❤👩‍💻🕹

Random Quote
"Let us prepare our minds as if we'd come to the very end of life. Let us postpone nothing. Let us balance life's books each day ... The one who puts the finishing touches on their life each day is never short of time."
Seneca