Untar without wrapper folder
November 8, 2017
I prefer to keep my archives within a main folder, often the webroot (like www).
But when you want to untar these files, you want to have all the files within another main folder, without the main folder.
Use:
--strip-components=1
This strips the wrapper folder and extracts only the files in this folder!
Add new comment