Some Random Thoughts..
Just a place to put some random thoughts..

Today I wanted to search and replace a string in some thousands of files. The way I did it is :

find . -name [pattern for file names] | xargs perl -pi 's/[search]/[replace]/g'

I wonder how Windows people do it. I am sure there is a shareware demo of some program somewhere with ten nice GUI screens (including an Installer with thirteen NEXT buttons and atleast two I AGREE buttons) to do this which will modify the registry in thousand other irrelevant places.
A random tip
Today I wanted to search and replace a string in some thousands of files. The way I did it is :

find . -name [pattern for file names] | xargs perl -pi 's/[search]/[replace]/g'

I wonder how Windows people do it. I am sure there is a shareware demo of some program somewhere with ten nice GUI screens (including an Installer with thirteen NEXT buttons and atleast two I AGREE buttons) to do this which will modify the registry in thousand other irrelevant places.

posted by rumplestiltskin @ 11:44 am 0 comments

0 Comments:


Post a Comment