Skip to main content
2 of 4
deleted 38 characters in body
Dennis
  • 210.6k
  • 41
  • 370
  • 825

Zsh, 19 17 bytes

dd<$0>`w`;exec $0

I think this fits the bill. It might overwrite the same file a few times, but it will continuously generate new ones.

Try it online!

Dennis
  • 210.6k
  • 41
  • 370
  • 825