Shell command to split large file into 10 smaller files

后端 未结 4 2090
清歌不尽
清歌不尽 2021-02-19 13:16

I have a csv import file with 33 million lines that need to be imported into my database. I can import it with a C# console app but then the stored procedures that run after the

4条回答
  •  南笙
    南笙 (楼主)
    2021-02-19 14:17

    If your csv file have 500 rows to split two part(250+250)

    download and install "Cygwin Terminal"

    put comment "split -l 250 filename.csv"

提交回复
热议问题