commit 9657bd6075e325acdca534d199f4d3b2aedd8d94
parent 13049cd0b1d3a42b56cb2002dcf6c36ea4d9b32b
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Tue, 8 Jan 2019 20:32:40 +0100
Added message about Homebrew cache files
Former-commit-id: ba3aa5fa3942b529f6bd5eccbfc2f19d16176c2b
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/bin/updatemaster b/bin/updatemaster
@@ -187,8 +187,15 @@ if command -v brew &> /dev/null; then
brew prune;
brew doctor;
brew missing;
+
+ echo "Homebrew cache disk usage:"
+ du -h "$(brew --cache)"
+ echo "Remove with:"
+ echo " rm -rf $(brew --cache)"
+
echo "Backing up Brew installation..."
brew bundle dump --force --file=~/.dotfiles/Brewfile;
+
echo_succ "Backup complete."
notify "Brewed." "All packages have been upgraded.";
else