http://qs1969.pair.com?node_id=43175


in reply to Re: (2) in-place edit, regex, one-liner (perl -i.bak -pe)
in thread in-place edit, regex, one-liner

I think you can cut that down a bit.

perl -pe -i.bak 's!(img  src=")(image\.gif")!$1/Images/$2!g' *.html

(I haven't tested it, but I think it's okay.)