bigstusexy
2[H]4U
- Joined
- Jan 28, 2002
- Messages
- 3,194
I need a program to replace text across many files.
You see I have a web site where I write things (supposed to write) things daily and when the week gets back to the start day I run a batch file to check for a backup run copy the html files to a direcotry with with the date and copy from templates to new html files ready for edition.
For size purposes I don't copy the images (they are static in the fact that I only use one set but I may point to different images on different days [they are mood indicators if you wanted to know])
I have Office 2000 and Open Office 1.0 I don't know if I can do this with them, I just want to search for img tags,might have to search by hand for speical cases, and change the relative path to location fo the files. I know I could have avoided this by using absolute paths but if I move my site to a second level domain or somewhere else I'd have a lot of work to do.
So... using thoes suites or any other program (free) how can I search and replace accross multiple files?
Oh I forgot to mention that I'd like this to be automated as in I set the search and replace parameters the directories i'd like it to work on (or files) and let it run I don't want to have to run it once per file or confirm between actions.
You see I have a web site where I write things (supposed to write) things daily and when the week gets back to the start day I run a batch file to check for a backup run copy the html files to a direcotry with with the date and copy from templates to new html files ready for edition.
For size purposes I don't copy the images (they are static in the fact that I only use one set but I may point to different images on different days [they are mood indicators if you wanted to know])
I have Office 2000 and Open Office 1.0 I don't know if I can do this with them, I just want to search for img tags,might have to search by hand for speical cases, and change the relative path to location fo the files. I know I could have avoided this by using absolute paths but if I move my site to a second level domain or somewhere else I'd have a lot of work to do.
So... using thoes suites or any other program (free) how can I search and replace accross multiple files?
Oh I forgot to mention that I'd like this to be automated as in I set the search and replace parameters the directories i'd like it to work on (or files) and let it run I don't want to have to run it once per file or confirm between actions.