On 2024-02-01 03:45, -pj via openSUSE Users wrote:
On 01-31-2024 08:19PM, Felix Miata wrote:
-pj composed on 2024-01-31 19:39 (UTC-0600):
Which application do you use for file compression typically?
When I need more compression than average:
tar -cvjf targetfile source
When it shouldn't matter, I use either tar -cfzf, or create a .zip. Try all three and check the different resulting sizes FYOI.
Should strace.txt be changed back to strace.log before compression?
Not necessary. Thanks again for this excellent insight. There is now a tarball named strace.tar.gz and it is only 77k in size now after compression.
Notice that using "tar" is an extra step that is not necessary when compressing a single file, and complicates reading at the other end. Simply use "gzip strace.txt" which will convert the file to "strace.txt.gz". The file can be read directly with commands like "less strace.txt.gz". -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)