Forum Discussion
How to clear hard drive space on macbook air when storage is full?
Clear System Logs is a quick, built-in way to clear hard drive space on macbook air, but it only targets outdated log files rather than other system clutter.
It allows you to safely remove old compressed and rotated logs, but using this feature requires Terminal commands and basic familiarity with macOS.
First, open Terminal from Applications → Utilities. Run du -sh /private/var/log/ to view the current log folder size.
Then, use sudo rm -rf /private/var/log/*.gz to clear old compressed logs, and sudo rm -rf /private/var/log/*.log.* to remove rotated log files.
Once the commands complete, you will have freed up 500MB–2GB of hidden disk space.
This method is a reliable way to clear hard drive space on macbook air, but it cannot clear other types of system data or temporary files, so it is only suitable for reclaiming small-to-medium amounts of space quickly.
If you don’t want to use third-party cleaning apps, you can try this method. Always double-check the commands before running them, and avoid modifying system folders you don’t understand.