Directing Solaris Tar to Extract to Current Directory

August 7, 2007 – 7:16 pm

Tip courtesy of Kyle Reynolds at http://www.camelrichard.org

If a tarball includes the full path, use the following command to extract
it to the current directory instead of the full path:

pax -rv -f filename.tar -s ‘,^/,,’

Post a Comment