Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tar xf archive.tar -C /target/directory --strip-components=1
- #Note that if your tarball already contains a directory name you want to change, adding --strip-components=1 is needed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement