Home RIPGREP Search and replace
Post
Cancel

RIPGREP Search and replace

RIPGREP Search and replace

rg --passthru '/dev/mapper/vg_geosafe-sc-core' -r '/dev/mapper/vg_geosafe-sc--core' ansible/group_vars/node11 > tmp.txt && mv tmp.txt ansible/group_vars/node11

changes /dev/mapper/vg_geosafe-sc-core to /dev/mapper/vg_geosafe-sc–core and replaces it in the file

This post is licensed under CC BY 4.0 by the author.