I am dealing with some large files and I need to extract only particular directly using command line and I am doing it like following:
First I finding all files are there in the tar file ..
tar -tf archive.tar
then when I confirmed its there, I gave command
tar -xvf archive.tar mydirectorytoextract
But it is giving error that its not there in archive, I have used similar technique to extract file but directory is not extracting.. help please..