[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: find



On Wed, Sep 24, 2014 at 05:40:08PM +0300, Gokan Atmaca wrote:
> Indeed, will be as follows;
> find /arsiv/backup/ -mtime +1 -delete

Yes, it's important the delete comes after -mtime, otherwise it will be
performed before the mtime check. You may also want a '-type f' or
/arsiv/backup itself might be removed.


Reply to: