Files
oam/knowledge base/split.md
2022-05-15 00:24:53 +02:00

789 B

Split

TL;DR

# Break the 'home.tar.bz2' archive file into small blocks.
# Each block up to 10MB (10\*1000\*1000) in size.
# Prefix each chunk with 'home.tar.bz2.part'.
split -b 10M home.tar.bz2 "home.tar.bz2.part"

# Break the 'logs.tgz' file into 2M (2\*1024\*1024) bytes blocks.
# Number them in the suffix.
split -b 2M -d logs.tgz "logs.tgz."

Sources