Created
November 11, 2014 01:40
-
-
Save freshcutdevelopment/bf00b1f894c93d3248cd to your computer and use it in GitHub Desktop.
PowerShell one liner to split by line count
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$i=0; Get-Content .\filePaths.txt -ReadCount 500 | %{$i++; $_ | Out-File out_$i.txt} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment