I'm using BASH in the terminal on Yosemite.
Is the zip
command lossy?
I'm using it like this
zip -er ./output.zip ./input
-e encrypt
-r recurse
I am trying to avoid lossy compression when backing up data.
Would be super weak sauce if my backups came out corrupt :(
tar -czf output.tar.gz /input/dir
? My question then becomes, is G-Zip lossy? Thezip
command (according to man pages) is apparently not G-Zip. I'll bet there is a flag to use something other than G-Zip tho... – Kolob Canyon Dec 27 '16 at 20:05-p
and--xattrs
to your tar command to preserve permissions and extended attributes. You don't have to use gzip. Look in the man page of tar (1), under the section "Compression options". – v7d8dpo4 Dec 28 '16 at 1:37