doing something with what you "Find"

This is an easy one, I’m sure…

I’m running the find command and it is successfully finding all the instances of an operator. I know this because the -l flag spits out the paths to the hundred or so instances. But I want to remove the operator when I find it. I’ve tried creating a script that has an oprm that gets run using the -r flag, but it needs to run in the directory of the the found operator, or be given the path. Unless there is a cool way to do this, I’m wondering how to take the output info from the ‘find’ command and use it to generate an oprm to work on each found operator. Hopefully, the functionality I seek is there, I’m just not seeing it…?

–kate

The first argument to the script that gets run with the find command is the full path to the node.

oprm $arg1

weeeee!
thanks again malcom.