in message <[EMAIL PROTECTED]>, wrote antenneX thusly... > > In a website of 1.GB+ with several hundred thousand files, I need > to interrogate all files to replace a single string like > "oldone.010" with "newone.011" > > What's the best way to do this?
Find yourself if the following is the best way ... fgrep -r -l 'oldone.010' parent-directory-of-files \ | xargs perl -pi -e 's[oldone\.010]/newone.011/g' - Parv -- _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"