0
1

CSVファイルの分割

Last updated at Posted at 2024-03-25

概要

大量データのCSVファイルを分割する。
PowerShellにて以下のコマンドを実行する(1000000行単位で分割)。

$i=1; Get-Content sample.csv -ReadCount 1000000 | % {$_ | Out-File "sample$i.csv"; $i++}
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1