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

Re: find



----- Original Message -----
> From: "Gokan Atmaca" <linux.gokan@gmail.com>
> 
> Thanks for the correction.
> 
> Indeed, will be as follows;
> find /arsiv/backup/ -mtime +1 -delete
> 

The +1 will get rounded up, according to the man page:

 File was last accessed n*24 hours ago.  When  find  figures  out
how  many  24-hour  periods  ago the file was last accessed, any
fractional part is ignored, so to match -atime +1, a file has to
have been accessed at least two days ago.


Reply to: