SSH - Help command line EX2Ultra

I’m trying with Putty to insert this command (fix), for the EMBY media server:

cd /shares/Volume_1/Nas_Prog/
for d in (emby mono ffmpeg); do cd $d; find . -name “*.sh” -exec sed -i “s#/root#$(pwd)#” {} ; ; cd … ; done

When i digit cd /shares/Volume_1/Nas_Prog/ the system is ok …
putty1
but when i digit for d in (emby mono ffmpeg); do cd $d; find . -name “*.sh” -exec sed -i “s#/root#$(pwd)#” {} ; ; cd … ; done the system says:


how can i resolve this? where am I wrong?
thank you

@rossomike1966 Have you checked in the correct sub-forum for your device?
https://community.wd.com/c/network-attached-storage

Have you already tried the Knowledge Base?

Try without the ( around emby mono ffmpeg
Just
for d in emby mono ffmpeg;

Perfect!!
now it works…!!
Great…thank you:grinning::grinning: