Posted on 2012-05-30 17:38
Milo的海域 阅读(270)
评论(0) 编辑 收藏 所属分类:
Linux
Sometime mailbox disallows u upload file exceed some limitation. you can split it before upload. here is one example:
create test filetouch file1 file2;
echo 1 > file1;
echo 2 > file2;
tar zvcf old.tar.gz file1 file2;
split file to segment with size as u wished split -b 50 old.tar.gz;
restore file from segmentscat xa* > new.tar.gz;
verify the restoremd5sum old.tar.gz new.tar.gz
Generally, the check result should be same.