Thursday, June 18, 2020

Homebrew with Mac OS 10.15

Solution: 

after upgrading to High Sierra, uninstall brew & re-install with the below command to ensure the linking to the brew github and associated permissions to the local folder work correctly:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Reference:
https://gist.github.com/irazasyed/7732946

Tuesday, June 9, 2020

Rsync with special PORT of target server

rsync -avz -e "ssh -p $portNumber" user@remoteip:/path/to/files/ /local/path/