Two days after upgrading to Catalina, I have noticed that some subdirectories are missing. I'm not exactly sure when these directories went missing as I was on vacation, but here is what happened.
- I upgraded to Catalina few days ago
- Decided to delete some directories, mostly
node_modules
from old projects, to get some free space. - After that I didn't touch anything and discovered that some directories are missing when I get back home.
Original size of www
directory was somewhere around 55GB and similar size is shown in Finder. DaisyDisk also shows that there are 55GB of hidden files somewhere (it's not telling where).
sudo du -sh www/
shows directory size of 10MB.
Free space before deleting node_modules
was 11GB and after deleting (now) is 20GB. If files under my www
directory were really deleted, free space would be much larger.
Based on other answers found here and on the Internet, I have tried the following:
- Tried restore using DiskDrill. No success.
- Run First Aid under Disk Utility. No success.
- Relocated Items directory is empty. No success.
- Recovering using Stellar Data Recovery. No success.
- Scanned using GrandPerspective. No success.
What else can I try?
www
directory? In your home folder, or somewhere else?www
is under mine home directory.sudo /bin/launchctl asuser 0 /Volumes/GrandPerspective\ 2.2.3/GrandPerspective.app/Contents/MacOS/GrandPerspective
. Select your whole volume to scan and this will show any hidden files. You can ignore the error about iCloud as root doesn't have an account. I found GrandPerspective wouldn't run as root withoutlaunchctl
and DiskInventoryX wouldn't run at all on Catalina.