That's one use case where LLMs really help me, one-off scripts where I know exactly what I need done, know it's possible but would take me much longer to brush off my Bash, Python, etc. skills to write it. Give the LLM a prompt, let it write the scaffolding, do the tweaks I need, and iterate over with the LLM if I forgot how exactly it was to write a for-loop in Bash.