Skip to Content

UNIX Command for Unpacking a Tar file to Different Directory

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.

  • Penton
    Thanks a lot man! It's work like wonder. :)
blog comments powered by Disqus
Get Adobe Flash playerPlugin by wpburn.com wordpress themes