Split and join files

How to split a file in chunks and how to put them back together.

### SPLIT LONG:
split --bytes=5m --suffix-length=2 --numeric-suffixes image.iso image.iso.part_
split --verbose --bytes=5m --suffix-length=2 --numeric-suffixes image.iso image.iso.part_

### SPLIT SHORT:
split -b 5m -a 2 -d image.iso image.iso.part_
split --verbose -b 5m -a 2 -d image.iso image.iso.part_

### RESTORE
cat image.iso.part_* > image.iso


Posted

in

by

Tags: