使用git-bash

Use the split command in Git Bash to split a file:

  • into files of size 500MB each: split myLargeFile.txt -b 500m

  • into files with 10000 lines each: split myLargeFile.txt -l 10000

//*******三万行一个文件,以数字结尾  file.txt01 file.txt02 file.txt03 ....................

 split file.txt -l 3000 file.txt -d

//******保留后缀  file01.sql file02.sql

split file.sql -l 30000 -d file --additional-suffix=.sql

 

https://stackoverflow.com/questions/31786287/how-to-split-large-text-file-in-windows

相关文章:

  • 2021-06-30
  • 2021-09-25
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
  • 2022-12-23
  • 2021-10-02
猜你喜欢
  • 2022-12-23
  • 2022-01-23
  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
  • 2021-04-22
  • 2022-02-23
相关资源
相似解决方案