[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash script question



On Mon, May 05, 2003 at 05:29:14PM +0200, Rudy Gevaert wrote:
> Hallo,
> 
> I have a directory with files, and in every file I want to replace:
> templates/images
> with
> http://users.pandora.be/webworm/images
> 
> How can I do this in an easy way?

Another way, not tested something like:

find . | xargs -iXX perl -pi -e \
  's[templates/images][http://users.pandora.be/webworm/images]'




Reply to: