1
0
Fork 0
mirror of https://github.com/Erreur32/cheat.git synced 2025-01-13 08:12:01 +01:00
cheat-fork-echo/cheatsheets/split
2013-08-22 11:34:11 +10:00

8 lines
245 B
Text

# 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