Hi team,
I’m looking for a script that can be applied to a folder of hundreds of little html files…
It needs to:
-
Take an arbitrary filename of a .html file
Eg. london_summer_festival.html = “london_summer_festival” -
Finds any reference to the filename within that .html file, and replaces it to a set name like “images"
Eg. href="./london_summer_festival/photo123” = href=“./images/photo123” -
Save!
That’s it. I’m sure it’s pretty easy for someone else, but I’m still learning this voodoo!
Thanks! Adam