Under folder:
/var/userTN/applo folder
I have around ~100 shell scripts that include the following PATH:
GLOBAL_PATH=/export/pop/PLW5
I want to replace the PATH on all the scripts under folder:
/var/userTN/applo
to this PATH
GLOBAL_PATH=/export/lld/sat
How to replace the PATH:
GLOBAL_PATH=/export/pop/PLW5
On all the files under folder:
/var/userTN/applo
With find + sed or other approach ? ( as Perl one liner solution )
remark:
Replace should be match exactly the “GLOBAL_PATH=/export/pop/PLW5”
For example
The PATH -> GLOBAL_PATH=/export/pop/PLW51 ( should not replaced! )