Tag Archives: join

Split and join files

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

 bash | 
 
 copy code |
?

01
### SPLIT LONG:
02
split --bytes=5m --suffix-length=2 --numeric-suffixes image.iso image.iso.part_
03
split --verbose --bytes=5m --suffix-length=2 --numeric-suffixes image.iso image.iso.part_
04
05
06
### SPLIT SHORT:
07
split -b 5m -a 2 -d image.iso image.iso.part_
08
09
10
split --verbose -b 5m -a 2 -d image.iso image.iso.part_
11