1
0
mirror of https://github.com/cheat/cheat.git synced 2024-12-22 12:45:06 +01:00
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