>find . -name '*.txt' -exec chmod a-x {} \; -print xargs is your friend: find . -name '*.txt' -print0 | xargs -0 chmod a-x This will save you from exec'ing chmod for every single txt file.. -- Arguing with an Engineer is like wrestling a pig in mud. After a while you realize the pig is enjoying it.