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.
One Response to “UNIX Command for Unpacking a Tar file to Different Directory” Leave a reply ›
Thanks a lot man! It's work like wonder.