Created
May 18, 2018 05:54
-
-
Save nailuoGG/1e92ed636358949408f119efd4cd570d to your computer and use it in GitHub Desktop.
分卷打包文件 #linux #tar
This file contains 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
# 后台打包并分卷 | |
nohup tar -cvf - package | split -b 1024m -d - package.tar > logs.txt 2>&1 & | |
# 打包压缩并分卷 | |
tar -cvzf - package | split -b 1024m -d - package.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment