View Single Post
Old 2004-06-13, 10:19 AM   #1
swedguy
Vagabond
 
swedguy's Avatar
 
Join Date: Aug 2003
Posts: 2,374
Send a message via ICQ to swedguy
Quote:
Originally posted by Cleo
This looks interesting.

Could I do

find /home/foxy/web/members \( -name '*.html' -o -name '*.php' -o -name '*.htm' \) -exec ../../myscripts/remove-right-mouse-code.pl {} \;

and this way it would only do the member's directory?
It will do the /home/foxy/web/members directory and all it's sub-dirs.

If you only want to do the /home/foxy/web/members dir and no sub-dirs... do this:

find /home/foxy/web/members \( -name '*.html' -o -name '*.php' -o -name '*.htm' \) -maxdepth 1 -exec ../../myscripts/remove-right-mouse-code.pl {} \;
swedguy is offline   Reply With Quote