做了磁盘阵列的硬盘如何恢复_从自制软件恢复磁盘空间

做了磁盘阵列的硬盘如何恢复

One of my favorite utilities is Homebrew, the shell utility for installing and upgrading other utilities -- it's a lazy developer's dream.  Dreams can easily turn to nightmares, however, and I recently learned that Homebrew caches older versions of installed packages, leading to loads of disk space being used up by old files.

我最喜欢的实用程序之一是Homebrew ,它是用于安装和升级其他实用程序的shell实用程序-这是懒惰的开发人员的梦想。 梦想可以轻易变成噩梦,但是我最近了解到,Homebrew会缓存已安装软件包的旧版本,从而导致大量磁盘空间被旧文件占用。

Want all of that disk space back?  Run brew cleanup -s:

想要所有的磁盘空间回来吗? 运行brew cleanup -s

做了磁盘阵列的硬盘如何恢复_从自制软件恢复磁盘空间

I understand why Homebrew keeps the previous versions around but when utilities are stable, it's really time to take back the bytes.  My first run of brew cleanup -s recovered 640MB of disk space, which is peanuts relative to the size of modern hard drives, but it's space that I want back!

我知道为什么Homebrew会保留以前的版本,但是当实用程序稳定时,是时候收回字节了。 我的第一个brew cleanup -s回收了640MB的磁盘空间,相对于现代硬盘驱动器的大小而言,这是小菜一碟,但是我想要的空间是!

翻译自: https://davidwalsh.name/brew-cleanup

做了磁盘阵列的硬盘如何恢复