| UNIX/Linux Forum Archives · Rules and Guidelines · Disclaimer |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| rameshsrao |
Posted: May 6 2005, 09:38 PM
|
|
Newbie ![]() Group: Members Posts: 1 Member No.: 979 Joined: 6-May 05 |
I need help in removing files which havent been accessed for the last one week. I should be able to specify a directory and the script should be able to browse the subdirectories under it too and remove the files/subdirectories (if subdirectory is old, it should be removed too)!
Filespace is getting full everyday and Im having issues with that! Appreciate help in this regard! Thanks in advance. :( |
| vibhor_agarwalin |
Posted: May 9 2005, 04:37 AM
|
|
User Level: 3 ![]() ![]() ![]() Group: Members Posts: 34 Member No.: 788 Joined: 1-February 05 |
find /path/path -mtime +7 -name xyz
|
![]() |
![]() ![]() ![]() |