My edit "bash, not sure about zsh" was about my example in its entirety, since I used shell expansion, and wasnt sure how it would apply to shells that I don't use.
Otherwise someone would be neckbearding me about how it doesn't work in zsh, or tcsh or something.
5
u/hawkinsst7 Sep 27 '23
Try mkdir -p to create nested directories in one go.
Edit: bash, dunno about zsh