Living a Simple Life is a Happy Life

Been here so long got to calling it home.

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