O
O
Optimus2015-02-22 16:54:42
linux
Optimus, 2015-02-22 16:54:42

How to specify compression ratio when archiving tar?

Command:
tar -czvf file.tar.gz *.html
Creates an archive file with all html files in a folder. What is their default compression ratio? Can it be changed somehow?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AVKor, 2015-02-22
Pyan @marrk2

SSH has nothing to do with it.
The compression ratio has the gzip you are using. Possible values ​​are from 1 to 9.
PS gzip is not the best option for getting maximum compression.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question