There is a similar question here.
If I understand correctly, the first answer indicates that we cannot extract the contents of a folder, but only a specific file from a folder?
The second answer uses the
--directory option. This looks to be precisely what I want, however this does not extract files from a certain directory within the archive, but instead outputs the files to the directory indicated by the
When I tarred up my folder tar included the entire path from the root directory down. So it has
home/ole/folder/thestuff. I want to extract
folder/thestuff into the current folder that I'm in without including