Skip to content

Instantly share code, notes, and snippets.

@dohaivu
Last active January 26, 2018 04:34
Show Gist options
  • Save dohaivu/0f61fdbbe040ce89d86edf78b8eb583a to your computer and use it in GitHub Desktop.
Save dohaivu/0f61fdbbe040ce89d86edf78b8eb583a to your computer and use it in GitHub Desktop.
[mac info] commands, utility, tips & tricks on #mac

Xcode

xcode-select -p
# select default xcode 
sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer

Zip

# view content
zipinfo file.zip
unzip -l file.zip

zip -e ethereum.zip ethereum_metamask.txt file2.txt # encrypted zip

Backup

# delete backup
sudo tmutil delete /Volumes/macbackup/Backups.backupdb/Vu/2018-01-09-104048
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment