cheat/cheatsheets/split
2013-08-22 11:34:11 +10:00

9 lines
245 B
Plaintext

# To split a large text file into smaller files of 1000 lines each:
split file.txt -l 1000
# To split a large binary file into smaller files of 10M each:
split file.txt -b 10M
# To consolidate split files into a single file:
cat x* > file.txt