Renaming Folders and Movie Files in place?
Posted: 13 Jan 2025, 21:51
Okay, so if I rename files in place by using {plex.name} it works like a charm. However, if the movie is located in a folder with the same name I'd like to be able to rename the folder and movie in place? I tried using the following: but it just creates another sub-folder with the rename folder and file.
This is what I have as an example:
THOR_THE_DARK_WORLD (2013)/THOR_THE_DARK_WORLD (2013).mp4
THOR_THE_DARK_WORLD (2013)/THOR_THE_DARK_WORLD (2013).eng.srt
When I run the command I have now I get:
THOR_THE_DARK_WORLD (2013)/Thor The Dark World (2013)/Thor The Dark World (2013).mp4
THOR_THE_DARK_WORLD (2013)/Thor The Dark World (2013)/Thor The Dark World (2013).eng.srt
What I'd like to have is just:
Thor The Dark World (2013)/Thor The Dark World (2013).mp4
Thor The Dark World (2013)/Thor The Dark World (2013).eng.srt
Thanks in advance for your help!
Code: Select all
./{n} ({y}/{plex.name}
This is what I have as an example:
THOR_THE_DARK_WORLD (2013)/THOR_THE_DARK_WORLD (2013).mp4
THOR_THE_DARK_WORLD (2013)/THOR_THE_DARK_WORLD (2013).eng.srt
When I run the command I have now I get:
THOR_THE_DARK_WORLD (2013)/Thor The Dark World (2013)/Thor The Dark World (2013).mp4
THOR_THE_DARK_WORLD (2013)/Thor The Dark World (2013)/Thor The Dark World (2013).eng.srt
What I'd like to have is just:
Thor The Dark World (2013)/Thor The Dark World (2013).mp4
Thor The Dark World (2013)/Thor The Dark World (2013).eng.srt
Thanks in advance for your help!