Author Topic: Editing multiple files instantly!  (Read 531 times)

Agent007

  • Member
  • **
  • Posts: 120
  • Kudos: 0
Editing multiple files instantly!
« on: 20 October 2002, 16:34 »
hi all,

I have a bunch of .html files about 50 of them and need to substitute a certain line with something else.

Example, if the line of text is "http://www.personal.psu.edu/users/f/p/fpm108/glw/pictures/circle.gif"

then it should be changed to "./root/images/circle.gif"

Is there a way to do this via a script automatically for all 50 files?
pls help!


thanks,
007
AMD Athlon processor
256MB SDRAM
Linux Distro - RedHat 9.0

flap

  • Member
  • **
  • Posts: 1,268
  • Kudos: 137
"While envisaging the destruction of imperialism, it is necessary to identify its head, which is none other than the United States of America." - Ernesto Che Guevara

http://counterpunch.org
http://globalresearch.ca