Re: a creative use of find

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

 



I use the following
find /home/path/subfolder/ -type f -mtime +18
what the different between -ctime and -mtime

Thanks

On 10/7/05, Bill Tangren <bjt@xxxxxxxxxxxxxxxx> wrote:
>
> Geoff Rainey (DSL AK) wrote:
> > When I want to delete files within a dir older than a certain creation
> time, I use:
> >
> > find /filesystem/location -ctime +30 -exec rm -f {} \;
> >
> > this will delete files older than 30 day create time.
> >
> > regards,
> > Geoff.
> >
>
> Ah, -ctime. I missed that one.
>
> Thanks!
>
> Bill
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux