Thomas suggested I send an email to you about my question.<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Thomas Goirand</b> <span dir="ltr"><<a href="mailto:thomas@goirand.fr">thomas@goirand.fr</a>></span><br>

Date: Thu, Nov 3, 2011 at 1:02 PM<br>Subject: Re: [dtcdev] find: invalid predicate `-delete'<br>To: <a href="mailto:dtcdev@gplhost.sg">dtcdev@gplhost.sg</a><br>Cc: Dominique <<a href="mailto:deefactorial@gmail.com">deefactorial@gmail.com</a>><br>

<br><br><div class="im">On 11/04/2011 01:44 AM, Dominique wrote:<br>
> I keep getting this error message emailed to me and my email service<br>
> provider is thinking that I'm spamming them because it sends it every<br>
> time the cron job is run.<br>
><br>
> Subject: Cron <root@mx> [ -x /usr/lib/php5/maxlifetime ] && [ -d<br>
> /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin<br>
> +$(/usr/lib/php5/maxlifetime) -delete (failed)<br>
> find: invalid predicate `-delete'<br>
><br>
> root@mx:~# which find<br>
> /usr/bin/find<br>
><br>
> root@mx:~# find --version<br>
> GNU find version 4.1<br>
><br>
> root@mx:~# apt-cache show findutils<br>
</div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); "><div>Package: findutils</div><div>Essential: yes</div><div>Priority: required</div><div>

Section: utils</div><div>Installed-Size: 1704</div><div>Architecture: i386</div><div>Source: findutils (4.4.2-1)</div><div>Version: 4.4.2-1+b1</div><div>Depends: dpkg (>= 1.15.4) | install-info</div><div>Pre-Depends: libc6 (>= 2.4)</div>

<div>Suggests: mlocate | locate | slocate</div><div>Filename: pool/main/f/findutils/findutils_4.4.2-1+b1_i386.deb</div><div>Size: 602114</div><div>Description: utilities for finding files--find, xargs</div><div> GNU findutils provides utilities to find files meeting specified</div>

<div> criteria and perform various actions on the files which are found.</div><div> This package contains 'find' and 'xargs'; however, 'locate' has</div><div> been split off into a separate package.</div>

<div>Homepage: <a href="http://savannah.gnu.org/projects/findutils/" target="_blank" style="color: rgb(6, 88, 181); ">http://savannah.gnu.org/projects/findutils/</a></div><div>Tag: implemented-in::c, interface::commandline, role::program, scope::utility, use::searching, works-with::file</div>

</span>
<div class="im">><br>
> The man file says that it supports -delete<br>
><br>
> I have searched the internet to try and find a solution but I'm at a loss.<br>
> Please help.<br>
><br>
> Thanks,<br>
> Dominique<br>
<br>
</div>Hi,<br>
<br>
What's above has nothing to do with DTC. I would suggest you to write to<br>
<a href="mailto:pkg-php-maint@lists.alioth.debian.org">pkg-php-maint@lists.alioth.debian.org</a> which takes care of the packaging<br>
of PHP in Debian.<br>
<br>
I know there has been some work about that (I remember reading it in<br>
this list), but I can't remember what was the final solution which was a<br>
bit complicated. Maybe having a look into the current SID package will help.<br>
<font color="#888888"><br>
Thomas<br>
</font></div><br>