Skip to content

Instantly share code, notes, and snippets.

@cpuuntery
Created June 20, 2021 11:12
Show Gist options
  • Save cpuuntery/0164105586e0ec9e93c098a151896a59 to your computer and use it in GitHub Desktop.
Save cpuuntery/0164105586e0ec9e93c098a151896a59 to your computer and use it in GitHub Desktop.
#fast
$newfile=""; for($i=1; $i -le 70; $i++) {$newfile += GC "$i.html"} $newfile | out-file "target.html"
#slow
for($i=1; $i -le 70; $i++){Get-Content "$i.html" >> joinedFile.html}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment