/etc/cron.daily/tmpwatch script
Can anybody help me to understand the following tmpwatch script...
Code:
flags=-umc Also what does "-x" option do ? |
Why don't you change 240 for something else ?
-x is an entry to be excluded from the clean up operation. man tmpwatch |
Thanks a lot ...
|
for d in /tmp/aaa /tmp/bkk /tmp/bbb /tmp/ccc; do
if [ -d "$d" ]; then /usr/bin/tmpwatch -f 720 "$d" fi done would this remove the folders aaa bbb and ccc or their content? |
Hi
It will remove directory contents, not the directory. |
All times are GMT -5. The time now is 04:51 AM. |