I have a bunch of tar files from an old web server. The internal file structure of each tar file is similar to
When I extract to the current directory, I get the whole directory structure, i.e. ./home/a/b/abwebsite etc
I would like to extract from the website name, so that the extract creates ./abwebsite/....
Is tar able to start extracting from a subdirectory like this?
If not, what would be a good way to do this - bear in mind that all of the tar files have different directories after home, e.g.