Last active
May 21, 2020 15:24
-
-
Save sergeimuller/8d159e419f38e11b4892cbcc0af1b7fe to your computer and use it in GitHub Desktop.
Handy commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compress directory into 500MB archives | |
tar cvzf - dir/ | split -b 500000000 - output.tar.gz. | |
# Extract multi-archive tar.gz files | |
cat output.tar.gz.* | tar xzvf - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment