有用的SHELL

find . -type f -atime -90 -exec ls -lt {} \;
列出当前目录90天前的文件,ls -lt可以替换成rm 就变删除了,蛮有用,记住

Leave a comment

Your comment