Thanks for your reply.
Well, I don't think batch scripting is worth learning it at all. Well, it kinda works for simple stuff but I ain't touching it, no way :)
On the contrary, learning some bash or Python is a lifetime investment. The latter can be easily recommended for anybody.
I can re-create your batch script in Python if you wish, you could learn something from it or just adapt for your further usage.
If you'd like to play with music files and Python scripting, I can give a few suggestions:
- pytaglib (
https://pypi.org/project/pytaglib/) or mutagen (
https://pypi.org/project/mutagen/) libraries for working with audio metadata. pytaglib is a wrapper around well-known C++ taglib (
https://taglib.org/) library, which powers mp3tag, for example (and many more applications, of course);
- Pathlib (
https://docs.python.org/3/library/pathlib.html) (it supports globbing (
https://en.wikipedia.org/wiki/Glob_%28programming%29), btw) and shutil (
https://docs.python.org/3/library/shutil.html) for working with files.
Good Python code often reads as plain English. It's a good and very popular language, especially for people who are getting more familiar with all this tech stuff.
That's very true. It's fine for small projects. I haven't been interested in Python since, unfortunately. I have more important stuff to focus on right now. Maybe the interest will come back to me one day (I lose interest in most stuff quickly and on and off). Last python thing I made was for tagging my rips from Qobuz using Beautiful Soup. I wasn't able to automate the downloading of the tracks though. Can't just use their API either. Don't think it supports Python, and there's no wrapper. That'd be pretty neat actually if you don't mind. I'd like to see how that works (no rush though). Thank you for the suggestions and I'm sorry for the slow reply, man.