Hey there Shell experts!
Has anyone got a good script to perform a file removal by date? I need something that will wade through a LARGE reports directory, and delete everything more than 30 days old. I have ideas about what I could write, but am not sure about the redirect or pipe function that would filter the 'rm' or 'del' command through the date process. Any comments/help are MORE than welcome. Thanks!
Ron Fogg
Systems Manager
Waldo County General Hospital
Has anyone got a good script to perform a file removal by date? I need something that will wade through a LARGE reports directory, and delete everything more than 30 days old. I have ideas about what I could write, but am not sure about the redirect or pipe function that would filter the 'rm' or 'del' command through the date process. Any comments/help are MORE than welcome. Thanks!
Ron Fogg
Systems Manager
Waldo County General Hospital