.mn2/msn
.mn2/msn
Does anyone know of a way to change the tag in a large number of .msn/mn2 files from anarchy to normal in a faster way than manually editing them individually.
Thank You
Thank You
Get a Linux-Machine ^^
Code: Select all
replace anarchy normal -- *.mn2
Re:
That command might work in CygWin (Windows)Munk wrote:Get a Linux-Machine ^^
Code: Select all
replace anarchy normal -- *.mn2
Nahh...
I didn't know \"replace\", but I just checked and I have it too... as part
of MySQL. So for Cygwin users: it wouldn't work unless for some reason
you have a Cygwin version of MySQL. This should always work though:
I didn't know \"replace\", but I just checked and I have it too... as part
of MySQL. So for Cygwin users: it wouldn't work unless for some reason
you have a Cygwin version of MySQL. This should always work though:
Code: Select all
#!/bin/sh
for f in *.{msn,mn2}; do
sed -i -e '/^type/s/anarchy/normal/i' $f
done
Try ReplaceEm.
http://www.orbit.org/replace
I used that program several years ago to do mass changes on HTML files. I haven't had a cause to use it in a really long time, but it was super useful back then! Sounds like what you need.
http://www.orbit.org/replace
I used that program several years ago to do mass changes on HTML files. I haven't had a cause to use it in a really long time, but it was super useful back then! Sounds like what you need.