Re: replacing text
Re: replacing text
- Subject: Re: replacing text
- From: Ric Phillips <email@hidden>
- Date: Thu, 14 Jun 2001 10:04:23 +1000
>
hi!
>
>
>
i have a folder consisisting of html files,i want to delete a line in all the
>
html files in side that folder,i can do it manually by opening each file and
>
deleting the same line in each file in side that folder.
>
>
can some one plesae provide me with the script that selects the folder
>
consisting of many html files and deletes the text in all the html files at a
>
stretch.
>
>
waiting anxiously
>
ve
If it's not a regular task that requires automation, don't use Apple Script.
Use BBEdit (or BBEdit lite if you don't want to pay for it). It can do
simple and regular expression search and replace on batches of files in
whole folder trees.
I have used it to convert and repair thousands of URLs in student web sites
- with one command.
Ric Phillips
Computer Laboratory Support Officer
Faculty of Humanities and Social Sciences
La Trobe University
9479 2792