macOS command line tool for developers – The ultimate tool to manage your Mac. It provides a huge set of command line commands that automatize the usage of your Mac.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/guarinogabriel/mac-cli/master/mac-cli/tools/update)
mac is now broken with every command producing the following:
% mac list
/usr/local/bin/mac: line 207: /usr/local/bin/mac-cli/misc/help: No such file or directory
/usr/local/bin/mac: line 213: /usr/local/bin/mac-cli/plugins/brew: No such file or directory
/usr/local/bin/mac: line 214: /usr/local/bin/mac-cli/plugins/general: No such file or directory
/usr/local/bin/mac: line 215: /usr/local/bin/mac-cli/plugins/git: No such file or directory
/usr/local/bin/mac: line 216: /usr/local/bin/mac-cli/plugins/image: No such file or directory
/usr/local/bin/mac: line 217: /usr/local/bin/mac-cli/plugins/brew: No such file or directory
/usr/local/bin/mac: line 218: /usr/local/bin/mac-cli/plugins/iterm: No such file or directory
/usr/local/bin/mac: line 219: /usr/local/bin/mac-cli/plugins/lamp: No such file or directory
/usr/local/bin/mac: line 220: /usr/local/bin/mac-cli/plugins/magento: No such file or directory
/usr/local/bin/mac: line 221: /usr/local/bin/mac-cli/plugins/network: No such file or directory
/usr/local/bin/mac: line 222: /usr/local/bin/mac-cli/plugins/performance: No such file or directory
/usr/local/bin/mac: line 223: /usr/local/bin/mac-cli/plugins/search: No such file or directory
/usr/local/bin/mac: line 224: /usr/local/bin/mac-cli/plugins/ssh: No such file or directory
/usr/local/bin/mac: line 225: /usr/local/bin/mac-cli/plugins/web: No such file or directory
/usr/local/bin/mac: line 226: /usr/local/bin/mac-cli/plugins/xcode: No such file or directory
/usr/local/bin/mac: line 227: /usr/local/bin/mac-cli/plugins/volume: No such file or directory
Running mac from within the git repo:
rprimus@mbp /usr/local/src/mac-cli
% ./mac help
./mac: line 207: ./mac-cli/misc/help: Permission denied
./mac: line 215: ./mac-cli/plugins/git: Permission denied
./mac: line 216: ./mac-cli/plugins/image: Permission denied
./mac: line 218: ./mac-cli/plugins/iterm: Permission denied
./mac: line 219: ./mac-cli/plugins/lamp: Permission denied
./mac: line 220: ./mac-cli/plugins/magento: Permission denied
./mac: line 221: ./mac-cli/plugins/network: Permission denied
./mac: line 222: ./mac-cli/plugins/performance: Permission denied
./mac: line 223: ./mac-cli/plugins/search: Permission denied
./mac: line 224: ./mac-cli/plugins/ssh: Permission denied
./mac: line 225: ./mac-cli/plugins/web: Permission denied
./mac: line 226: ./mac-cli/plugins/xcode: Permission denied
./mac: line 227: ./mac-cli/plugins/volume: Permission denied
Fri Aug 19 09:26:26 BST 2016
Info:
After running:
mac
is now broken with every command producing the following:Running
mac
from within the git repo:Each of the above files have perms
600
.