On Thu, 07 Jun 2007 08:45:48 +0100 Tony Arnold <[EMAIL PROTECTED]> wrote: > Try this instead: > > find ~/music -group diana -exec chgrp root {} && chmod 664 {} \; >
That wont work - the shell sees the && and terminates the command there than tries to chmod {}. It might work with a \&\& (I haven't tried it though). > I'm pretty sure the first \; terminates the whole find command. > It doesn't I tried it before posting as using && in the one exec was my first thought. ________________________________________________________ Robert McWilliam [EMAIL PROTECTED] www.ormiret.com Engineers think that equations approximate the real world. Scientists think that the real world approximates equations. Mathematicians are unable to make the connection... -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/