News for hackers. Stuff that matters.
Re:Ask HN: How do you manage one-off internal scripts? by tcbasche on Saturday August 14, 2021 @01:10AM (#28178167)
The classic is the /scripts directory in your codebase (presumably in VCS). The key is also to trawl through occasionally and remove anything that hasn't been used in a while.
Re:Ask HN: How do you manage one-off internal scripts? by giorgioz on Sunday August 15, 2021 @10:28AM (#28189006)
I do the same. a /scripts folder in the root of the git repo. I keep old scripts mainly to copy-paste the structure and/or pieces for new one-time scripts. It feels a bit dirty but I haven't found a better solution yet.