momo 发表于 2016-7-10 11:22:24

什么吃掉了我的硬盘?

经常听到有人说我的硬盘没安装多少东西,可是为什么硬盘越来越少了,实际多半是一些缓存没清空造成的,大家可以用winscp用admin账号登录,然后登录后用sudo -i 把账号提升到root权限后,再执行下面命令即可看到哪个文件夹占用了多少空间,然后登录winscp进去看看是否有用的文件了。

du -sh /*


evilofstock 发表于 2016-7-14 07:17:29

学习了……

underwood 发表于 2016-8-2 15:40:29

学习了,回去就看看

soomal 发表于 2016-10-10 15:27:36

学习一下

bigfu 发表于 2018-11-21 09:28:00

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]
查看完整版本: 什么吃掉了我的硬盘?