tar会自我分裂:
tar -L 1000000 -F name-script.sh cf split.tar largefile1 largefile2 ...
名称脚本
#!/bin/bashecho "${TAR_ARCHIVE/_part*.tar/}"_part"${TAR_VOLUME}".tar >&"${TAR_FD}"重新组装
tar -M -F name-script.sh cf split.tar
将此添加到您的python程序。

tar会自我分裂:
tar -L 1000000 -F name-script.sh cf split.tar largefile1 largefile2 ...
#!/bin/bashecho "${TAR_ARCHIVE/_part*.tar/}"_part"${TAR_VOLUME}".tar >&"${TAR_FD}"tar -M -F name-script.sh cf split.tar
将此添加到您的python程序。