Add artist name to file ONLY if the artist name isnt present
Posted: Thu Aug 24, 2023 4:29 pm
I have a ton of videos I just moved.
Now I have a new delema.
I have files like this.
I unfortunately have files like this as well...
All folders are the same. Some are mkv or Mp4 (if that matters)
What I want is to search all folders under X:\MUSIC VIDEOS\ and check if the 2 nested folder (X:\MUSIC VIDEOS\Alanis Morissette\) has files. If it does does the folder above it name is in the file's name. If it is skip. If it isnt add it.
In this example the added name would be
There is a space after the minus.
I did do a search and found a lot of examples and I tried a few but they do not work from a level of all artists folders I have.
Thank you as well for taking time to read.
Now I have a new delema.
I have files like this.
- Code: Select all
X:\MUSIC VIDEOS\Alanis Morissette\Alanis Morissette - You Oughta Know.mkv
I unfortunately have files like this as well...
- Code: Select all
X:\MUSIC VIDEOS\Alanis Morissette\You Oughta Know.mkv
All folders are the same. Some are mkv or Mp4 (if that matters)
What I want is to search all folders under X:\MUSIC VIDEOS\ and check if the 2 nested folder (X:\MUSIC VIDEOS\Alanis Morissette\) has files. If it does does the folder above it name is in the file's name. If it is skip. If it isnt add it.
In this example the added name would be
- Code: Select all
Alanis Morissette -
There is a space after the minus.
I did do a search and found a lot of examples and I tried a few but they do not work from a level of all artists folders I have.
Thank you as well for taking time to read.