I am trying to replace a string with another string in files that are present in subdirectories of a directory.
Below are the string values
old_string = gs://common/jars/sap_njdbc_2.12.jar
new_string = ${path_to_jar_file}
I have tried like below
find ./ -type f -exec sed -i 's/gs://common/jars/sap_njdbc_2.12.jar/${path_to_jar_file}/g' {} \;
I am getting a error like below
sed: -e expression #1, char 3: unterminated `s' command
How do I achieve my correct result