1. Open Terminal
2. Type this command:
tar -xvzf /path/to/tar/file.tar.gz -C /path/to/dir/you/want/files/expanded
the -C in essence changes the file path for the unpacked files.
Home › technology › UNIX Command for Unpacking a Tar file to Different Directory
April 7, 2009 Print Preview
1. Open Terminal
2. Type this command:
tar -xvzf /path/to/tar/file.tar.gz -C /path/to/dir/you/want/files/expanded
the -C in essence changes the file path for the unpacked files.
© 2005 - 2010, Without Ink, All Rights Reserved. Subscribe to Free updates!