尽管我的MacBook Air有一个 120GB 的硬盘驱动器,但我一直在努力保持足够的可用存储空间。每次我查看可用空间时,我总是徘徊在 15-20GB 左右。
您可能认为这(Which)是不小的数量,但是当它低于 10GB 时,计算机开始抛出持续的启动错误消息。
自从我在 2012 年购买了我的第一台MacBook以来,我尝试了各种方法来尽可能保持计算机的清洁。这是我想出的久经考验的方法。有些是显而易见的,有些则不是。
找到你最大的文件(Find Your
Biggest Files)
第一步是找到你最大的太空霸主。
有些事情是不言而喻的。例如,如果您使用 iMovie,您当前正在处理的视频文件将占用大量空间。如果您从 iTunes 下载音乐,所有这些 m4a 文件将占用大量空间。如果您使用照片(Photos)应用程序,照片库可能会占用大量空间。
iMovie 库位于“电影(Movies)”文件夹中,我的当前大小为 12GB(右键单击文件并选择“获取信息(Get Info)”以查看其大小)。iTunes 媒体,包括音乐和电影,位于“ Music ”文件夹中(另外 15GB)。照片数据库自然在“图片(Pictures)”中。
iMovie 和 iTunes 之类的最佳解决方案是将文件夹移动到大型U(USB)盘或连接的便携式驱动器,并将应用程序指向新位置。
按大小排序文件(Sort Files By Size)
下一步是根据大小对所有硬盘文件进行排序。为此,请打开Finder,然后在顶部菜单中选择Go ,然后选择Recents。如果您没有看到最近的内容,请单击所有我的文件(All My Files)。
然后,这会将所有文件混在一起。如果您必须单击 All My Files,请单击带有三个水平线的图标以将文件显示为列表。
单击标题中的大小(Size),直到最大的文件出现在顶部。请注意,此列表不包括(NOT)应用程序和系统文件。如果您没有看到Size,只需右键单击任何列标题(种类、名称等)并选择Size。
如果您右键单击其中一个文件,您可以将其删除。或者,如果您想先查看它在哪个文件夹中,请右键单击它并选择Show in Enclosure Folder(Show in Enclosing Folder)。
有些应用(are)程序可以为您完成所有这些大文件排序,例如免费的OmniDiskSweeper。但是在尝试之后,我得出的结论是它并没有比我上面描述的更多。
删除所有不需要的文件或将它们移出计算机(Delete All
Unneeded Files Or Move Them Off The Computer)
下一步是进行大的删除清除。
专注(Focus)于大量文件容易堆积的区域。这通常是下载(Downloads)文件夹、桌面(Desktop)和垃圾箱(Trash)。删除(Delete)
您不需要的所有内容并清空Trash。在(Right)那里,您可能会注意到空间的巨大改进。
接下来(Next),将您想要保留的所有内容放入一个文件夹中。
接下来(Next),获取一个 128GB 的大U(USB)盘或便携式硬盘驱动器,然后将所有内容从计算机上转移出去。
在云存储上使用选择性同步(Use Selective
Sync On Cloud Storage)
如果您不想使用USB记忆棒或便携式驱动器 - 或者您仍然希望能够轻松地将文件带回MacOS
计算机 - 那么云存储是一个不错的选择。但是为了节省计算机空间,您需要使用一种称为“选择性同步(Selective
Sync)”的功能。
所有主要的云存储平台都提供选择性同步,包括我使用的那个 ( (Sync)Sync.com )。这是您将所有文件上传到云存储服务网站的位置,但在桌面应用程序设置中,您可以选择将哪些文件同步到您的计算机。
因此,在Sync.com桌面应用程序首选项中,我可以取消选中我想要离开计算机的文件夹的复选框,但它们将保留在我的在线帐户中。Dropbox和Google Drive在他们的偏好中也有这个选项。
卸载不需要的应用程序 - 正确(Uninstall
Unneeded Apps – Properly)
在Mac(Mac)上卸载应用程序比在
Windows上容易得多。使用Mac,您只需将应用程序放入垃圾箱(Trash)并删除即可。
问题是,像Windows一样,这并没有完全(completely)卸载它。临时(Temp)文件经常被遗忘,积累了大量的杂物,随着时间的推移,这些杂物会积累并占用宝贵的空间。
这就是我喜欢免费AppCleaner的原因。
使用AppCleaner,您可以将应用程序文件拖到
AppCleaner上,它会搜索所有相关文件供您同时删除。
或者您可以设置它,以便您可以将应用程序文件发送到垃圾箱(Trash)
,AppCleaner 会(AppCleaner)立即自行打开,其中包含所有相关的杂物供您核对。
AppCleaner还可以告诉您每个应用程序占用了多少空间,以便您决定是否值得删除它以腾出空间。
而且您还可以删除小部件和插件,它们不会返回那么(THAT)多空间,但每一点都很重要。
如果有浏览器版本,请停止安装应用程序(Stop Installing
Apps If There Is a Browser Version)
许多流行的应用程序实际上现在都有同样好的——如果不是更好的话——网络版本。这消除了安装桌面版本的需要,从长远来看,这将为您节省空间。
例如,LibreOffice在我的电脑上占用了大约 4GB 的空间。但是,如果我卸载它并改用Google Docs,我将获得 4GB 的空间以及LibreOffice文件所占用的所有空间。
此外,请务必阅读我们的姊妹网站文章,了解如何使用桌面应用程序等网络应用程序(use some web apps like desktop apps),从而获得两全其美的效果。
其他具有良好网络版本的应用程序包括:
清空 iOS 备份文件夹(Empty The iOS
Backup Folder)
如果您有使用 iTunes 将 iOS 设备备份到Mac的习惯,您可能需要考虑删除 iOS 备份文件夹。当我昨天检查它时,它几乎是 21GB,可以追溯到几个月前!
要查找文件夹,请转到Finder,然后转到 Go (Go),然后转到文件夹(Go To Folder)。
在出现的框中,键入以下内容:
~/Library/Application
Support/MobileSync/Backup
删除(Delete)出现的框。只需(Just)记住之后立即再次备份新的 iOS 或备份到 iCloud。
结论(Conclusion)
这些是我每周都会做的事情,以确保计算机尽可能干净。每六个月,我会更进一步,完全重新格式化计算机,我很快就会在一篇文章中介绍这一点。
How To Free Up Space On Your Mac OS X Computer FAST
Despite my MacBook Air having a 120GB hard drive, I am аlways struggling to keep enough storage space free. Every time I look at my available space, I am always hovering around 15-20GB.
Which you might think is no small amount, but when it drops below 10GB, the computer starts throwing up continual boot error messages.
Ever since I bought my first MacBook back in 2012, I have
tried various methods of keeping the computer as clean as possible. Here are
the tried and tested methods I came up with. Some are obvious while others are
not.
Find Your
Biggest Files
The first step is to find your biggest space hoggers.
Some things will be self-evident. If you use iMovie for
example, video files you’re currently working on will take up a tremendous
amount of space. If you download music from iTunes, all those m4a files will be
taking up a lot of space. If you use the Photos app, the photo library is
likely to hog up a lot of space.
The iMovie library is in the “Movies” folder and mine is currently 12GB in size (right-click on
the file and choose “Get Info” to see
its size). iTunes media, including music and movies, is in the “Music” folder (another 15GB). The photos
database is naturally in “Pictures”.
The best solution for things like iMovie and iTunes is simply
to move the folders to a large USB stick or attached portable drive and point
the apps to the new locations.
Sort Files By Size
The next step is to sort all of your hard-drive files according to size. To do this, open the Finder then in the top menu, select Go then Recents. If you don’t see recents, click on All My Files.
This then shuffles all of your files together. If you had to click All My Files, click the icon with three horizontal lines to show the files as a list.
Click Size in the header until the biggest file appears at the top. Note, this list does NOT include apps and system files. If you don’t see Size, just right-click in any of the column headers (kind, name, etc) and select Size.
If you right-click on one of the files, you can delete it. Or if you want to see which folder it is in first, right-click on it and select Show in Enclosing Folder.
There are apps that do all of this large file sorting for you, such as the free OmniDiskSweeper. But after trying it out, I’ve concluded it doesn’t do much more than what I have described above.
Delete All
Unneeded Files Or Move Them Off The Computer
The next step is to go on a big deleting purge.
Focus on areas where lots of files tend to accumulate. This
is usually the Downloads folder, the Desktop, and the Trash bin. Delete
everything you don’t need and empty the Trash. Right there, you are likely to
notice a big improvement in space.
Next, throw everything you want to keep into one folder.
Next, get a large 128GB USB stick or a portable hard drive and transfer
everything off the computer.
Use Selective
Sync On Cloud Storage
If you don’t want to use a USB stick or portable drive – or
you still want to be able to effortlessly bring back files to the MacOS
computer – then cloud storage is a solid choice. But to save space on your
computer, you need to use a feature called “Selective
Sync”.
Selective Sync is offered by all of the major cloud storage platforms, including the one I use (Sync.com). This is where all of your files are uploaded to the website of the cloud storage service, but in the desktop app settings, you can choose which of the files are synced to your computer.
So in the Sync.com desktop app preferences, I can uncheck the
boxes of the folders I want off the computer but they will remain in my online
account. Dropbox and Google Drive have this option too in their preferences.
Uninstall
Unneeded Apps – Properly
Uninstalling apps is much easier on a Mac than it is on
Windows. With a Mac, you simply have to drop the app into the Trash bin and
delete it.
The trouble is, like Windows, this does not completely uninstall it. Temp files are
often left behind, building up a huge amount of crud that, over time,
accumulates and takes up valuable space.
This is why I love the free AppCleaner.
With AppCleaner, you can either drag the app file onto
AppCleaner and it will hunt down all of the associated files for you to delete
at the same time.
Or you can set it so you can send the app file to the Trash
and AppCleaner immediately opens by itself with all the related crud for you to
nuke.
AppCleaner can also tell you how much space each app is
taking up so you can decide if it is worth deleting it to make space.
And you can also remove widgets and plugins, which won’t give
back THAT much space, but every bit counts.
Stop Installing
Apps If There Is a Browser Version
A lot of popular apps actually now have equally good – if not
better – web versions. This removes the need to install the desktop versions,
which will save you space in the long run.
For example, LibreOffice takes up about 4GB of space on my computer. But if I were to uninstall it and use Google Docs instead, I will get that 4GB back and all the space that LibreOffice files would have taken up.
Also, be sure to read our sister-site article on how to use some web apps like desktop apps, thereby getting the best of both worlds.
Other apps which have good web versions include :
Empty The iOS
Backup Folder
If you are in the habit of using iTunes to backup your iOS devices to your Mac, you may want to consider deleting the iOS backup folder. When I checked it yesterday, it was almost 21GB, going back months!
To find the folder, go to Finder, then Go, then Go To Folder.
In the box that comes up, type the following :
~/Library/Application
Support/MobileSync/Backup
Delete the box that comes up. Just remember to make a new iOS back up again immediately afterward or backup to iCloud.
Conclusion
These are the things I do on a weekly basis to ensure the
computer is as clean as possible. Every six months, I go one step further and
completely reformat the computer, which is something I will be covering in an
article very soon.