opening tar to another directory
hi everyone..
in /home/user1 there is a file.tar ..and i want to extract it to /home/user2/openedFiles... i thought syntax should be tar xvzf file.tar /home/user2/openedFiles but there is something missing i guess, it doesn't work..can anyone help? |
tar -zxvf tarball.tar.gz -C <directory>
|
ohhh my god!!
why would they need an extra option tag for that? |
If its just a tar file, you can do
Code:
$tar xvf somefile.tar -C <directory> |
All times are GMT -5. The time now is 08:59 AM. |