This file contains 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/bash | |
# originally from | |
# https://raw.githubusercontent.com/mattbrock/mattbrock/master/vCard_photo_extractor/vCard_photo_extractor.sh | |
# changes: | |
# - made to work with macOS's base64 (uses -D not -d) | |
# - does not convert to fixed resolution | |
# - uses identify to remove invalid images | |
# - handles special characters better |
This file contains 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
# firsrun: | |
# install xcode-cli-tools | |
# xcode-select --install | |
# install homebrew | |
# ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# install caskroom | |
# brew install caskroom/cask/brew-cask | |
# update/install: |