Hi there. I thought that you had me for a moment. The Compare Text Test only has equality and containment tests so I though I'd have to do a patch for you.....but I figured out a solution 🙂
You can find an action which should do what you want at:
http://2manyrobots.com/actions/MoveFilesToAlpha.zip
Unzip the file and import it via Yate>Import Preferences.
You'll end up with an action called 'Files to Alpha' and a rename template named 'Year - Album/diskTrackP2 - Title'.
The action when loaded may look somewhat daunting but it has lots of Comments and a bunch of sanity checks at the start.
Some points:
1) The action was built with v3.0 which is hot off the press. If you have not yet updated to v3.0 (released about an hour ago), you will have to do so. Yate>Check for Updates.
2) The action as imported is set to select all open files. You can change this in the Action Manager if you wish.
3) There are a few options in the action which are initially disabled. Look for the Comment which starts with READ THIS!!!!!!!!
4) After moving the files, I move any jpg, jpeg and pdf files which might be in the initial folder. After that if the initial folder is empty, I delete it. You can add other file types to be moved if you wish.
One option is to use natural sorting when placing the Album Artist folders into the 'alpha' folders. For example place 'The Band' in 'B' as opposed to 'T'. Yate's initial Natural Sort Exception set will trigger on 'a', 'an' and 'the'. You can modify this in preferences if you wish.
Another option is to represent the album folder for 'The Band' as 'Band, The'.
Last but not least is an option to represent the album folder for 'The Band' as 'Band'.
You can pick and choose which options you want by enabling the disabled statements in the action. This is all documented in the action.
The Rename template I supplied is more than likely identical to yours. You can change the Move statement to use your template if you wish and then delete mine.
Let me know if I got it right. Enjoy!
|