什么吃掉了我的硬盘?
经常听到有人说我的硬盘没安装多少东西,可是为什么硬盘越来越少了,实际多半是一些缓存没清空造成的,大家可以用winscp用admin账号登录,然后登录后用sudo -i 把账号提升到root权限后,再执行下面命令即可看到哪个文件夹占用了多少空间,然后登录winscp进去看看是否有用的文件了。du -sh /*
学习了…… 学习了,回去就看看 学习一下 sudo -i
du -sh /*
cd /
ls
find . -type d -name "@eaDir"
find . -type d -name "@eaDir" -print0 | xargs -0 rm -rf
Delete @eaDIR folders
By Alfred Tuinman • April 23, 2018 • 0 Comments
These are index folders the presence of which can be quite annoying.
To locate them
find . -type d -name "@eaDir"
if you’re feeling ok about automatically deleting them then:
find . -type d -name "@eaDir" -print0 | xargs -0 rm -rf
On a Synology NAS you can disable feature as follows
synoservice --disable pkgctl-SynoFinder
warn: The runkey of service has been set to "No"
页:
[1]