• @PlexSheep@infosec.pub
    link
    fedilink
    324 days ago

    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?

    • @AVincentInSpace
      link
      English
      124 days ago

      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