Tools and techniques to minimize disk space usage
This article describes how you can manage to minimize disk space usage.
If you have a way to live comfortably with a 256 GB drive vs. a 500 GB drive on your Mac, you save several hundred dollars.
A 4TB USB external mechanical hard disk costs less than $100 at Costco.
The more files on your laptop, the more you stand to lose and the longer it takes to restore your laptop when you (inevitably) have to recover it.
Take Disk Inventory
Visualize the largest files using your disk space using the free GPL app Disk Inventory X from http://www.derlien.com which presents the sizes of files and folders in graphical “treemaps”.
Macs Read, Not Write NTFS
Windows machines natively formats drives using NTFS (New Technology File System). Additionally, to handle drives larger than 2GB, Windows 10 is moving from MBR (Master Boot Record), first introduced with IBM PC DOS 2.0 in 1983, to GPT (GUID Partition Tables). On Linux, the GRUB boot loader is typically located in the MBR. Since GPT identifies every partition on a drive using a GUID, it escapes the MBR limitation of up to four primary partitions. However, Windows allows up to 128 partitions on a GPT drive.
A big advantage of GPT is that it duplicates partition information in several places on the drive. Apple’s Intel Macs no longer use Apple’s APT (Apple Partition Table) scheme and use GPT instead.
Apple limited support for Windows volumes by allowing only read but not write or delete anything on NTFS drives.
Windows 7 does not work with drives 2.16 TB or more. When plugged in, 3TB and 4TB drives don’t even appear in the Folder.
However, for $19.99 Paragon software enables your Mac to write and delete files on NTFS drives.
Remove Unneeded Language
One quick and simple way of recovering disk space is https://ingmarstein.github.io/Monolingual/index.html
brew install monolingual
Since I’m in the US, I selected for removal all languages except US(en), US(gb).
Delete your copy of repos on your local hard disk when you are not actively editing a particular repo.
- Apple iCloud in the US charges per month 50GB: $0.99, 200GB: $2.99, 2TB: $9.99
- Google Cloud charges for egress.
- Amazon Drive (for Prime members to store an unlimited number of photo files)
- Microsoft OneDrive, etc.