lorty@lemmy.ml to Linux@lemmy.ml · 20 hours agoTIL tar keeps permissions of the files and directories archived if possible.message-squaremessage-square23fedilinkarrow-up1107arrow-down13file-text
arrow-up1104arrow-down1message-squareTIL tar keeps permissions of the files and directories archived if possible.lorty@lemmy.ml to Linux@lemmy.ml · 20 hours agomessage-square23fedilinkfile-text
minus-squareslock@lemmy.worldlinkfedilinkarrow-up11·16 hours agoIIRC zip can, but doesn’t by default. Source : wasted 8 hours trying to figure out why something didn’t work anymore (had to switch from tar to zip because stupid security system wouldn’t let me transfer the tar file)
minus-squareZykino@programming.devlinkfedilinkarrow-up6·edit-24 hours agotar -czf <folder> mv folder.{tar.gz,zip}
IIRC zip can, but doesn’t by default. Source : wasted 8 hours trying to figure out why something didn’t work anymore (had to switch from tar to zip because stupid security system wouldn’t let me transfer the tar file)
Just use archive.pdf