du -h --max-depth=1
删除指定时间之前的文件
#!/bin/sh location="/root/sqlbak/" find $location -mtime +30 -type f |xargs rm -f
*/60 * * * * . /root/removeLog.sh 1>/dev/null 2>/dev/null
#!/bin/sh location="/data/wwwlogs/" find $location -mtime +3 -type f |xargs rm -f
No Leanote account? Sign up now.