Categories
First Category

compress/zip files Ubuntu/Linux

Compress files Ubuntu:

tar -cvzf backup.tar.gz <the directory of which files to backup>

Decompress files Ubuntu:

tar -xvzf backup.tar.gz <the directory you want to extract to>

Compress files Ubuntu:

tar -cvzf backup.tar.gz <the directory of which files to backup>

Decompress files Ubuntu:

tar -xvzf backup.tar.gz <the directory you want to extract to>

Leave a Reply

Your email address will not be published. Required fields are marked *