No subject


Sat Oct 7 20:41:49 UTC 2006


     -exec command

 	True if the executed command returns a zero value as
 	exit status. The end of command must be punctuated by
 	an escaped semicolon (;). A command argument { }
 	is replaced by the current path name. If the last
 	argument to -exec is { } and you specify + rather than
 	the semicolon (;), the command is invoked fewer times,
 	with { } replaced by groups of pathnames.

So, for example, you can use

     find . -type f -name '*whatever*' -exec rm '{}' '+'

This avoids all the quoting issues as the files never even
pass through the pipe.

   - Logan


More information about the dovecot mailing list