Hacker News new | ask | show | jobs
by bitcrazed 3768 days ago
I think you're suffering from PEBCAC ;)

You can append content to a file using >>:

PS C:\Users\rich> "Foo" > 1.txt

PS C:\Users\rich> cat .\1.txt

Foo

PS C:\Users\rich> "Bar" >> 1.txt

PS C:\Users\rich> cat .\1.txt

Foo

Bar