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 …
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