Krafting@lemmy.world to linuxmemes@lemmy.world · 6 months agothe fear of missing out a better compressionlemmy.worldimagemessage-square197fedilinkarrow-up1917arrow-down19file-text
arrow-up1908arrow-down1imagethe fear of missing out a better compressionlemmy.worldKrafting@lemmy.world to linuxmemes@lemmy.world · 6 months agomessage-square197fedilinkfile-text
minus-squarePlexSheep@infosec.publinkfedilinkarrow-up3·5 months agoThanks for the explanation, I might use more pipes now. Is it correct, that tar will restore the files in the tarball in the current directory?
minus-squareAVincentInSpace@pawb.sociallinkfedilinkEnglisharrow-up1·5 months agoYes. You can specify tar -C somedir if you want it to extract them somewhere else. As a rule of thumb, I always extract my tarballs in a newly created, empty directory, just in case whoever packed it didn’t put all its files in a subdir
Thanks for the explanation, I might use more pipes now. Is it correct, that tar will restore the files in the tarball in the current directory?
Yes. You can specify
tar -C somedir
if you want it to extract them somewhere else.As a rule of thumb, I always extract my tarballs in a newly created, empty directory, just in case whoever packed it didn’t put all its files in a subdir