I'd do something like this
If it was multiple directories of stuff:
find . -name "*htm" -exec fix.pl {} \\;
Where fix.pl was:
#!/usr/bin/perl -w -pi.old
s{\\\\}{/}g;
Note - it could all be done on a single command line but I rarely use it that way so it doesn't fly off my fingers.
Edited by
crazy
Dec. 9, 2006, 10:31:01 PM EST
I'd do something like this
If it was multiple directories of stuff:
find . -name "*htm" -exec fix.pl {} \;
Where fix.pl was:
#!/usr/bin/perl -w -pi.old
s{\\}{/}g;
Note - it could all be sone on a single command line but I rarely use it that way so it doesn't fly off my fingers.