I am very happy with this application. I have cleaned up over 40K worth of songs to be more organized. One issue I just ran into is after my action %artist% \ %album%\ $num(%track%,2) - %title% the old folders are still remaning with the album art (.jpeg, .jpg,ect) and I can't figure out a good way to move them over without doing it manually. Please tell me there is a way?
If you rename the _DIRECTORY instead of the _FILENAME then all the files in the renamed folder get moved.
Can you explain further? I am still rather knew to this and trail and error my way through it. Is there anything I can do after the fact?
How would you know which old folder should be merged with a new folder?
If you cannot tell then I do not see a lot of hope here.
For the best case you would need at least one audio file in the old folder from which you could create the new folder name. Renaming a folder takes all files that are in the folder to the new location.
I can start over from my backup if I need too. What would the process look like from scratch following the action I did before?
If your music-files and coverart are not separated in different folders per album you can't.
Principally you can also move the cover files in renaming the pseudo-field _DIRECTORY but that would move all files in that folder.
How are your cover-art-files named and how is your folder-structure you start with??
Right now the structure is artist > album >songs and then I use the action %artist% \ %album%\ $num(%track%,2) - %title% to clean them up and get them consistent. Most of the album art is filename.jpeg or .jpg
I assume that the number of folders is already the correct one which means that no new folders have to be created, just the existing ones have to be renamed.
Then I would suggest the following.
First create an action of the type "Format value" for _DIRECTORY (you may have to type it in) with the
(use an absolute path)
This moves all files to the new location, including the non-audio files.
When that is done, rename the files, and only the files without a path component:
As the files are already in the new folder, only the filename has to be adapted.
I guess I am still confused and maybe if I provide an example it will explain it better.
When I first had my file structure it was a mess, so I ran the above command to clean things up, however any album that had cover art, the old folders still exist with those .jpeg files in there.
Would the method you listed take the files from the incorrect folder names and move them to the new structure? Or should I start from scratch.
I doubt that the cover files know into which folder they should belong now.
And if you start from scratch:
First rename the folders.
Then rename the files and there the filenames only, no path.
Could you show me exactly what that would look like? What actions I should run in whichorder?
An action of the type "Format value" or the function Convert>tag-Tag for _DIRECTORY
Format string (e.g.):
d:\music\%albumartist%\%year% - %album%
Format value for _FILENAME or function Convert>Tag-Filename
Format string (e.g.): $num(%track%,2) _ %title%
Now can I run that to move everything to a new path and it will rename everything at the same time in the new directory or should I just do it all in place and manually move it all over (drag and drop)
If you rename a folder or directory (same thing) then everything that is in this folder gets moved to the new location.
This includes all the music files and all the other files like text files or pictures or whatever.
Once all the files have arrived at the correct new location, you can rename just the music files.
If you follow these steps then you don't need to drag&drop any files.
Yet, all this only works if the number of source folders is equal or bigger than the number of target folders.
If you have files from e.g. 2 albums in just 1 folder and you need to split them up into 2 folders, then you probably have to rename the files of one album without renaming the folder.
In that case it is hard to guess to which folder the picture files should belong.
To be quite honest: we circle around this topic for quite some time now. I made the same suggestion in post #8
so I would seriously suggest that you take some test files and simply try it.
Sorry I think I understand now and am testing on one album now. Thank you for your patience.
Just tried it and it did exactly what I wanted to do. Thank you again my friend. Very much appreciated.