script to delete one month old file

Mike Zupan hijinks at gmail.com
Sun Aug 26 15:35:17 UTC 2007


 find /your_directory -mtime +30 -exec rm -f {} \;

On 8/26/07, kimberly custodio <kim_custodio at yahoo.com> wrote:
>
> anyone can help me create a script that will delete one month old file in
> redhat/ linux machine? thanks...
>
> ---------------------------------
> Moody friends. Drama queens. Your life? Nope! - their life, your story.
> Play Sims Stories at Yahoo! Games.
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



More information about the redhat-list mailing list