学习科技理念,提升生活品质,追求思想自由之路

0%

Office Thinner 瘦身你的 Office 2016 for mac

the-effect-of-using-thinner

你更新了 office 2016 for mac 了吗?如果没有更新,还是推荐更新下(方法见文章最后),适配 Retina 后看起来舒服多了,字体柔和了很多,然后更新后发现了个大的问题,原先的 office 2011 也就是几百兆的空间,2016直接上到了5G 多,这对于128/256G 的 mac 来说又不少的空间占用,难道真的需要这么大的空间吗?

其实,office 中有很多组件是重复的,比如字体、框架等等,而且这些东西的体积还特别大。Office Thinner 就是一行命令,用脚本移除 office 组件中重复的东西,设置Excel、PowerPoint、Outlook、OneNote内组件软连接(ln)到 word组件中。Office Thinner 的维护见其 github 地址:https://github.com/goodbest/OfficeThinner

打开终端输入命令 sudo bash -c "curl -s https://raw.githubusercontent.com/goodbest/OfficeThinner/master/OfficeThinner.sh | bash",输入你电脑的密码回车,等待几秒钟,当看到 Office Thinning Complete 后,证明已经完成了设置,可以看到桌面上已经存在 OfficeThinnerBackup的文件夹,检查下 office 的几个组件是否正常工作。(使用后差不多能够移除3G的空间)

注意:

  1. 仅支持Office 2016 for Mac,尽量升级到最新的版本;
  2. 保持Excel、PowerPoint、Outlook、OneNote这几个组件为同一版本;
  3. Office for Mac 采用完整升级模式,每次升级后都会恢复,需要重新执行一遍脚本才可以瘦身;

完整的执行过程如下终端:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
sudo bash -c "curl -s https://raw.githubusercontent.com/goodbest/OfficeThinner/master/OfficeThinner.sh | bash"
Password:
2015-12-22 16:45:30.203 defaults[7072:860796]
The domain/default pair of (/Applications/Microsoft OneNote.app/Contents/Info.plist, CFBundleShortVersionString) does not exist
bash: line 37: [: 15.17: unary operator expected
WARNING: WILL NOT deal with Microsoft OneNote. It is version , but Word is 15.17
WILL deal with Microsoft Excel.
WILL deal with Microsoft PowerPoint.
WILL deal with Microsoft Outlook.

Before running this script, Office is taking:
1.6G /Applications/Microsoft Excel.app
1.5G /Applications/Microsoft PowerPoint.app
1.2G /Applications/Microsoft Outlook.app

After running this script, Office is taking:
743M /Applications/Microsoft Excel.app
637M /Applications/Microsoft PowerPoint.app
533M /Applications/Microsoft Outlook.app

Office Thinning Complete.
The duplicate files are backed up at /Users/xirong/Desktop/OfficeThinnerBackup/
If everything is OK, you may delete these files. But the choice is yours.
You may have to re-run this script after you install Microsoft Office updates

下载使用

还没用 Office 2016 ?尝试这有诚意的更新:https://support.microsoft.com/zh-cn/kb/3102925
(你懂的 链接: http://pan.baidu.com/s/1pJPHINx 密码: 5gkj)

以梦为马,不负韶华

Welcome to my other publishing channels