sebastiancarlos@lemmy.sdf.org to Linux@lemmy.mlEnglish · 1 year agoHow to write a 'tar' commandlemmy.sdf.orgimagemessage-square158fedilinkarrow-up1856arrow-down117
arrow-up1839arrow-down1imageHow to write a 'tar' commandlemmy.sdf.orgsebastiancarlos@lemmy.sdf.org to Linux@lemmy.mlEnglish · 1 year agomessage-square158fedilink
minus-squarexinayder@infosec.publinkfedilinkarrow-up1·1 year agoDon’t you have to specify the compression algorithm when extracting? I always use tar -xzf for gzip files and if I remove -z it just fails.
minus-squareFaresh@lemmy.mllinkfedilinkEnglisharrow-up2·1 year agoI’ve been using only xf for a long time now. Don’t remember ever getting an error from it in the last years. Maybe tar can now check the magic number or something to figure out what the format is?
Don’t you have to specify the compression algorithm when extracting? I always use
tar -xzf
for gzip files and if I remove -z it just fails.I’ve been using only
xf
for a long time now. Don’t remember ever getting an error from it in the last years. Maybe tar can now check the magic number or something to figure out what the format is?