Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Install B2 command line tool
sudo apt-get update
sudo apt install -y python
sudo apt install -y python-setuptools python-dev build-essential
sudo apt install -y python-pip
pip install —upgrade b2
b2 authorize-account key secret
# curl command copied from Charles Proxy to download Google Photos Takeout archive
curl -o photos.tgz
tar -xzvf photos.tgz
# Sync to B2
cd Takeout/Google\ Photos/
b2 sync . b2://bucket-name/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.