linux 下文件打包

'tar' cf - "$DIST_DIR" | 'bzip2' -9 > "$DIST_DIR.tar.bz2"

原文地址:https://www.cnblogs.com/fairyin/p/3955400.html