say I have a bunch of folders with a known structure (band name) - year - (album name)(optional extra details on some folders) how can I extract the year from all the folders, save it to a text file, organise it by year and then tally it by decade? i want to know how many albums I have from each decade essentially. I'm on Linux and I know it probably looks something like a bash for loop but idk how to do this stuff sorry