Last active
October 24, 2019 17:40
-
-
Save jcefoli/4d30eb30f43db4ff7028ada64fa87942 to your computer and use it in GitHub Desktop.
Split File By Number of Lines PowerShell One-Liner)
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 input.txt -ReadCount 25 | %{$i++; $_ | Out-File out_$i.txt} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment