How to extract tar files to a specific location

----------------------------------


You can extract an archive to a certain location with $ tar -xf foo.tar -C /target/dir.