Hello All,
I need a sed command to find and replace below text in multiple files in a directory.
Original Text :-
"$SCRIPT_PATH/files"
Replace with :-
"$RESOURCE_FILE"
Thank you in advance !!!
Regards,
Anand Shah
Hello All,
I need a sed command to find and replace below text in multiple files in a directory.
Original Text :-
"$SCRIPT_PATH/files"
Replace with :-
"$RESOURCE_FILE"
Thank you in advance !!!
Regards,
Anand Shah
sed 's#\"\$SCRIPT_PATH/files\"#\"\$RESOURCE_FILE\"#g' filename
OR
sed 's#"$SCRIPT_PATH/files"#"$RESOURCE_FILE"#g' filename