How to split large text file?

Log file is in few gigs, need to split

Asked on July 20, 2019 in Software.
Add Comment
1 Answer(s)

1. HJsplit is a freeware Windows file splitter.
2. Use the split command in Git Bash to split a file:

into files of size 300MB each: split myLargeFileText.txt -b 300m
into files with 10000 lines each: split myLargeFile.txt -l 10000

Answered on July 23, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.