1
0
mirror of https://github.com/cheat/cheat.git synced 2024-12-23 04:59:45 +01:00
cheat/cheatsheets/split

9 lines
240 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