Last active
May 25, 2023 17:28
-
-
Save nathansgreen/341f90887bfe5f91802eee21c7e0d9d0 to your computer and use it in GitHub Desktop.
Fix macOS not enough free space to update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Manually free up local copies of files backed up to iCloud. | |
path=${1:-*} | |
pushd "~/Library/Mobile Documents/com~apple~CloudDocs" \ | |
&& brctl evict $path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment