Ubuntu un-tar/extract tar ball/file to another directory

To extract an archive to a directory different from the current, use the -C, or –directory, tar option, as in:

tar -xf archive.tar -C /target/directory

By Keenlio, January 4, 2015

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *


three × = 21

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>