> % find `pwd` \( -name "*.log" -o -name "*.aux" \) -exec 'rm {}' ';' > find: rm /home/shao/report/main.log: No such file or directory
It tries to execute command rm[space]/home/shao/report/main.log. Of course there is no such command. You should execute 'rm' with filename as a parameter; so write rm '{}' ';' instead of 'rm {}' ';' -- Alexey Vyskubov (at home) Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
pgpIvqpFsCyDX.pgp
Description: PGP signature