Change a line in all of your files at once

Sometimes you need to change a single line in a lot of files. May be you made a mistake in your configuration files or you want to change the number of initial conditions to be generated automatically.
With sed it is super-easy:

sed -i 's/"Runs": 10,/"Runs": 50,/g' *.txt
Tags// , , ,
More Reading
comments powered by Disqus