In the tar manual
man tar
--strip-components=NUMBER strip NUMBER leading components from file names on extraction
eg path1/path2/file becomes path2/file
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.