Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/goodbest/OfficeThinner

save your disk space with Office 2016 for Mac
https://github.com/goodbest/OfficeThinner

Last synced: 3 months ago
JSON representation

save your disk space with Office 2016 for Mac

Awesome Lists containing this project

README

        

# Things You Must Understand Before Using:
Read it twice, please:
https://github.com/goodbest/OfficeThinner/issues/7

# OfficeThinner
Save your disk space with Office 2016 for Mac.

Nearly 2.9GB HDD/SDD space can be saved.

![compare](fig_compare.jpg)

## Attention!
- This script is only for `Office 2016 for Mac`, tested on
- version `15.16 (151105)`
- version `15.17 (151206)`
- version `15.18 (160109)`
- version `15.25 (160817) x64`
- Use at your own risk.
- Read the code before you run.
- Make sure all the 5 Office Apps are in the same version.

## Usage
```
sudo bash -c "curl -s https://raw.githubusercontent.com/goodbest/OfficeThinner/master/OfficeThinner.sh | bash"
```
- As Microsoft Office 2016 for Mac is installed with `root` on `/Applications`, you have to run this script with `sudo`.
- The backup files are located at `~/Desktop/OfficeThinner`, you can do whatever you like with them if everything is fine.
- Everytime after you install Microsoft Office Updates, you may have to re-run this script.

## Explain
Some large-sized duplicate files exist in `Word.app`, `Excel.app`, `PowerPoint.app`, `Outlook.app` and `OneNote.app` in Office 2016 for Mac.

It's wasting your precious HDD/SSD space as these files are just 5 duplicate copies in these apps.

This script moves the following duplicate files from Excel, PowerPoint, Outlook and OneNote into a backup directory on your desktop (you may later delete them safely), and then soft link neccesary paths back to the real files in Word.app alone.

- /Contents/Resources/Fonts (<=15.16)
- /Contents/Resources/DFonts (>=15.17)
- /Contents/SharedSupport/Proofing Tools
- ~~/Contents/Frameworks/MicrosoftOffice.framework/Versions/A/Resources~~