Living a Simple Life is a Happy Life

Sometimes God gives us dreams a size too big so that we can grow in them

How to Split Large ‘tar’ Archive Into Multiple Files of Certain Size

| Comments

有时候需要压缩文件的时候同时分割一下:

1
tar czvf - -C /mnt/g/dict/ weakpass_merge.dict |split -b 10000M - "weakpass.part.tar.gz."

还原:

1
cat weakpass.part.tar.gz.*|tar zxvf

Comments