find syntax

Xian ian at
Wed Jul 5 15:57:27 UTC 2006

On Tuesday 04 July 2006 08:59, dick hoogendijk wrote:
> I want to change a string in a number of html files (recursive)
> In a linux group I got this line:
> #find /dir/to/htmlfile -name *.html -exec perl -p -i -e
> "s/;" {} \;
> This gives me an error "unknown option" and does not work.
> Doing a: perl -p -i -e "s/;" * does make the changes
> alright, but going to all html directories this way is a pain in...;-)
> What am I doing wrong in the first (linux) line?
> Any help appreciated.

You could try puting single quotes (') round the *.html . Just a guess.


"Reality is merely an illusion, albeit a very persistent one."
Albert Einstein

More information about the freebsd-questions mailing list