find directories and action

view story

http://forums.fedoraforum.org – hi everyone i have a lot of directories in a /pub and i want to find directories that start by "o*" word and change ownership of user and group of directories to that directory .for example i want to change ownership of directory o333 (chown o333:o333 o333). i know for finding directories that start by o word i should run this command :find -type d -name "o*" but how can i run that action? thanks in advance (HowTos)