Hello Christoph,
Am 17.12.2013 um 11:36 schrieb emailitis.com <off...@emailitis.com>:
> I would like to delete any files that are 0 bytes in size AND are over 3 days
> old. I tried to be clever:
> find /var/qmail/graylist/beadonbrook.com/. -type f -size 0 -mtime +3 –print
> (missed out the –delete until I had checked, luckily as it happens).
>
> but that lists all those that are greater than 3 days and ignores the “-size
> 0” in there.
Have you tried
find /var/.../ -type f -empty -mtime +3
?
--
Regards,
Peter
_______________________________________________
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users