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
15
This Month
71
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


James Clear