I want to replace text string in any type file(for example perl,cgi,text,binary,js and ...) in multiple folder in linux.
How do i do?
The problem with editing binary files is that they are often laid out in a particular format with the position of particular bytes having significance. So trying to automate that can be very difficult and should probably be done with a tool that understands the format of the file.
The following Bash script can be used to edit text files:
or change the second and last lines to:
If your version of