by jasonpeacock·2y ago·view on hn ↗Many languages have built-in support for managing tempdirs; if you're using Linux you can call `mktemp`:https://www.man7.org/linux/man-pages/man1/mktemp.1.html