Replaces all instance of ‘<old string>’ with ‘<new sting>’ in all the files of the current directory.
perl -pi -e "s/<old string>/<new string>/g;" *
[tags]perl,command,rename,replace,string[/tags]
Byte sized tech know-how.
Replaces all instance of ‘<old string>’ with ‘<new sting>’ in all the files of the current directory.
perl -pi -e "s/<old string>/<new string>/g;" *
[tags]perl,command,rename,replace,string[/tags]
Copyright © 2024 Txt