@travs69 it does seem unclear to me at all! but anywayz...
again, what i try to do is change content of files located it
different directories....
@KevinADC maybe you dont know but * stand for all / wildcard
if i take this away than i have to specify all the files and that is exactly NOT what i...
Find and replace crossing in muliple dirs.
sh-3.00$ perl -pi -e 's/print"123/echo"abc/' *
Can't do inplace edit: dir1 is not a regular file.
Can't do inplace edit: dir1 is not a regular file, <> line 3352.
how can i find and replace the files located in dir1 and dir2?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.