1 | #find ./ -nouser |xargs rm –rf |
1 | # find / -name core -print -exec rm -rf {} \; |
1 2 3 | # cd /usr/share/man # find ./ -maxdepth 1 -type d | tail -n +2 | grep -E -v '(en|zh|man).*' | \ while read d; do rm -rf $d; done |
1 | # apt-get install fdupes |
1 | #fdupes /etc |
1 2 | #fdupes -r -f . | grep -v ^$ | tee duplicate.txt cat duplicate.txt | \ while read file; do rm -v "$file"; done |
1 | # fdupes -r -n -S /tmp | sed -r “s/^/#rm \”/” | sed -r “s/$/\”/” >duplicate-files.sh |
1 | # apt-get autoclean |
1 | #apt-get clean |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |