Script Request - Replace Chars in Folder Names
Posted: March 14th, 2018, 5:25 pm
Hello together,
i am fetching many NZB in community's that aren't aware that Plex is unable to get Meta Data when the root folder of a movie contains underscores or blanks.
For reasons that are beyond my knowledge, they remove the dots in topic titles and the folder names of scene releases
SABNZB supports replacing blanks with underscores, but there is no option available in settings that replaces blanks with dots.
Hence I need a script that replaces these chars with dots.
The script needs to be POSIX complaint because SABNZBD runs on my Synology DS216j and unfortunately DSM 6.x supports only the ash shell.
Any help is highly appreciated.
Thank you very much in advance.
i am fetching many NZB in community's that aren't aware that Plex is unable to get Meta Data when the root folder of a movie contains underscores or blanks.
For reasons that are beyond my knowledge, they remove the dots in topic titles and the folder names of scene releases
SABNZB supports replacing blanks with underscores, but there is no option available in settings that replaces blanks with dots.
Hence I need a script that replaces these chars with dots.
The script needs to be POSIX complaint because SABNZBD runs on my Synology DS216j and unfortunately DSM 6.x supports only the ash shell.
Any help is highly appreciated.
Thank you very much in advance.