Re: script to delete one month old file
- From: Rajesh kanna <tr_rajeshkanna@xxxxxxxxx>
- Date: Tue, 28 Aug 2007 00:46:56 -0700 (PDT)
On 8/26/07, kimberly custodio <kim_custodio@xxxxxxxxx> 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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Hi Kim,
The below command works for me.
#find /home/foldername -name '*' -type f -mtime +30 -exec rm -rf {} \;
--Rajesh
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- Prev by Date: Re: script to delete one month old file
- Next by Date: xhost RHEL3 != RHEL4
- Previous by thread: Re: script to delete one month old file
- Next by thread: Video card rec.
- Index(es):
Relevant Pages
|
|