Why can't extract files with tar in other
by minou005 from LinuxQuestions.org on (#5R492)
Hello
I created an archive using tar command in the tmp directory, I extracted file from archive.tar to tmp direcory without any probleme, but when it comes to extracting from tmp to other directories it seems that it cant happen.
(rootminou)-[/tmp]
tar xvf archive.tar subdir/ -C ~/Documents/dir
Why cant I extract subdir (a directory I named) in Documents/dir although Im using the right command?
I created an archive using tar command in the tmp directory, I extracted file from archive.tar to tmp direcory without any probleme, but when it comes to extracting from tmp to other directories it seems that it cant happen.
(rootminou)-[/tmp]
tar xvf archive.tar subdir/ -C ~/Documents/dir
Why cant I extract subdir (a directory I named) in Documents/dir although Im using the right command?