From mboxrd@z Thu Jan 1 00:00:00 1970 From: Franky Van Liedekerke Date: Tue, 12 Oct 2010 17:59:01 +0000 Subject: Re: [mlmmj] mlmmj-maintd recursively Message-Id: <20101012195901.6e5dc52c@franky> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: mlmmj@mlmmj.org On Tue, 12 Oct 2010 21:19:31 +1100 Ben Schmidt wrote: > >>>>> find /var/spool/mlmmj/ -mindepth 1 -maxdepth 1 -type d \ > >>>>> -exec /usr/bin/mlmmj-maintd -F -d {} \; > >>>> > > The trailing \; is generally required too. Without it the shell > > can/will treat the ; as a command separator rather than a command > > argument. Some versions of find may be happy without the ; at the > > end of exec but not all are. > > Yep, I've left that there too, I think. I'll double check. My find > definitely needs it. > > Thanks for mentioning, Richard. > > Ben. Hi, Just fyi: the ";" at the end marks the end of the exec part of the find command and always needs to be escaped. Franky