Search Results

Search: Posts Made By: AmritMastering
6,092
Posted By AmritMastering
find /your_directory -mtime +7 -exec rm -f {} \; ...
find /your_directory -mtime +7 -exec rm -f {} \;

should help you to delete files.. you can simply use "cron" to execute the above command on particular day.

Plzzz How does the number of files...
6,092
Posted By AmritMastering
Why don't you try using find command to delete...
Why don't you try using find command to delete files of particular days/weeks old .. like all files older then 7 ...

then use unix "du / df " commands to checks if its usage = 90% .. if so delete...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy