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


You need to login to view comments.