Forum Discussion
Why deleting files does not free up space on mac
Clear System Logs is an effective way to resolve the issue where deleting files does not free up space mac, as system logs can grow to multiple gigabytes over time and silently occupy disk space.
It allows you to safely remove old and rotated logs, reclaiming storage without affecting system stability.
First, view the size of your log folder with this command in Terminal:
du -sh /private/var/log/
Next, clear old compressed and rotated logs using:
sudo rm -rf /private/var/log/*.gz
sudo rm -rf /private/var/log/.log.
Then, clear installation logs with:
sudo rm -rf /private/var/log/install.log
This usually frees up between 500 MB and 5 GB of disk space. These commands only delete old logs; they do not delete system files currently in use, so you can rest assured.
This is a practical, built-in way to address deleting files does not free up space mac by removing accumulated log data, making it suitable for users comfortable with Terminal commands who want to reclaim significant space without third-party tools.