cmd

Extract a tar file in a specific directory

tar zxvf file.tar.gz -C /path/to/directory

Extract gzipped file.tar.gz in the directory /path/to/directory instead of in ‘.’ (the present working directory).

speak up

Add your comment below, or trackback from your own site.

Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

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

*Required Fields