Skip to content

Instantly share code, notes, and snippets.

View akshayranganath's full-sized avatar

Akshay Ranganath akshayranganath

View GitHub Profile
@akshayranganath
akshayranganath / github_migration.py
Last active June 13, 2020 17:19
Sample script to migrate all local images to Cloudinary
import cloudinary
import cloudinary.uploader
import cloudinary.api
import cloudinary.utils
import argparse
import sys, os, glob, re
import urllib.parse
cloudinary.config(
cloud_name = '<<your cloud-name>>',
attribute count
content 14574
name 6205
itemprop 4316
property 3301
http-equiv 1219
charset 439
itemscope 214
itemtype 214
itemid 212