How do I split a log file in Windows?

How do I split a log file in Windows?
Answer
Use the split command in Git Bash to split a file:
  1. into files of size 500MB each: split myLargeFile. txt -b 500m.
  2. into files with 10000 lines each: split myLargeFile. txt -l 10000.
 

Tìm kiếm

Back
Top