Computing.Net > Forums > Unix > Unix script remove files older 1mon

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Unix script remove files older 1mon

Reply to Message Icon

Name: stanimira
Date: February 12, 2004 at 05:32:34 Pacific
OS: Unix
CPU/Ram: 4
Comment:

Could someone help me to write a script wchich remove files in directory older then 1 month.



Sponsored Link
Ads by Google

Response Number 1
Name: aigles
Date: February 12, 2004 at 07:25:49 Pacific
Reply:

find the_directory -mtime +30 | xargs rm


Jean-Pierre.


0

Response Number 2
Name: stanimira
Date: February 12, 2004 at 08:08:11 Pacific
Reply:

Thank you verry much!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Unix script remove files older 1mon

help redoing unix script student db www.computing.net/answers/unix/help-redoing-unix-script-student-db/5151.html

Unix script line - means what?? www.computing.net/answers/unix/unix-script-line-means-what/5981.html

C shell unix script file www.computing.net/answers/unix/c-shell-unix-script-file/4444.html