lorty@lemmy.ml 发于 Linux@lemmy.ml · 1 年前TIL tar keeps permissions of the files and directories archived if possible.message-squaremessage-square25linkfedilinkarrow-up1131arrow-down13file-text
arrow-up1128arrow-down1message-squareTIL tar keeps permissions of the files and directories archived if possible.lorty@lemmy.ml 发于 Linux@lemmy.ml · 1 年前message-square25linkfedilinkfile-text
minus-squaremonovergent@lemmy.mllinkfedilinkarrow-up13arrow-down1·1 年前Learned to make use of this the hard way when transferring a directory over a FAT32 USB drive messed up the permissions.
minus-squareki9@lemmy.gf4.pwlinkfedilinkEnglisharrow-up2·1 年前I uses to use 7z for my archives but it dropped the permissions. Now I tar it first into a .tar.7z aka .t7z when I want maximum compression.
Learned to make use of this the hard way when transferring a directory over a FAT32 USB drive messed up the permissions.
I uses to use 7z for my archives but it dropped the permissions. Now I tar it first into a
.tar.7zaka.t7zwhen I want maximum compression.