Replace a string with another one in many files


/ Published in: Bash
Save to your folder(s)

Replace a string with another one in many files


Copy this code and paste it in your HTML
  1. $ grep -rl 'windows' ./ | xargs sed -i 's/windows/linux/g'

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.