Script for renaming and moving folders

Hi, I've been using Mp3tag for a while, but never gone past the very basic tagging of files. I am trying to automate a few of my processes and I'm after a bit of assistance with something I am now struggling with.

So I have two folders on my Mac, 'Sorted' and 'Unsorted'. After ripping a CD or downloading an album from the www, it is stored in the unsorted folder until I get round to applying tags. I have a few things in an Action Group which work well and I am happy with. However, I wondered if there is a another script I can add to the Action Group, to automatically rename the files and move them from the 'Unsorted' folder, into my 'Sorted' folder, renaming the album folder in the process?

What I Have...

~/Music/Unsorted/%albumartist%/[%year%] %album%

What I Want...

~/Music/Sorted/%albumartist%/%origyear% - %album% [%year% ・ %publisher% ・ %catalognumber%]

Thank you for listening :+1:

Perhaps this section from the documentation already helps:

It does indeed help! Thank you so much. I don't know how I missed it :man_facepalming:

I did however, forget another bit of my question. How do I stop the %catalognumber% field being put into the filename if there is no catalogue number present?

Thanks once again

Have you tried
~/Music/Sorted/%albumartist%/%origyear% - %album% '['%year% ・ %publisher%[ ・ %catalognumber%]']'

You absolute diamond!! Thank you so so much :folded_hands: