cheat-fork-echo/cheat/cheatsheets/split

9 lines
245 B
Plaintext
Raw Normal View History

# 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