Article 5R492 Why can't extract files with tar in other

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?latest?d=yIl2AUoC8zA latest?i=rFc78QMEs0g:Xfiwmeqll2k:F7zBnMy latest?i=rFc78QMEs0g:Xfiwmeqll2k:V_sGLiP latest?d=qj6IDK7rITs latest?i=rFc78QMEs0g:Xfiwmeqll2k:gIN9vFwrFc78QMEs0g
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments