Q: Does Cloudinary Support Syncing / Uploading from Google Drive?
A: Our Upload Widget: https://cloudinary.com/documentation/upload_widget allows for the one-by-one upload of assets from Google Drive into Cloudinary, but does not offer a larger scale "sync" capability. The Upload Widget works well for one-off uploads.
Q: What If I want to upload in bulk / sync all of my assets from Google Drive?
A: If your assets are actually in Google Storage, and not Google Drive, we support the notion of "Auto-Upload" https://cloudinary.com/documentation/migration#configuring_auto_upload_url_mapping, which can be a good way to lazily Migrate your assets.
If your assets are in Google Drive, we have a method of syncing that you can try.
1. Make sure to be using Google Drive for desktop - in your "Finder" on Mac or "File Explorer" on Windows. Files that you want to sync to Cloudinary need to be hosted locally on the machine that will run the sync command
2. Install the Cloudinary Command Line Interface: https://cloudinary.com/documentation/cloudinary_cli#installation_and_configuration
3. In your terminal, navigate to the folder in your Google Drive that you would like to sync to Cloudinary
4. Use the "sync" capability to synchronize between a local folder and a Cloudinary folder, maintaining the folder structure.
https://cloudinary.com/documentation/cloudinary_cli#sync.
Sample command will look like this:
cld sync --push local_folder cloudinary_folder
5. The CLI will upload all files and folders in the specified directory into Cloudinary
Comments
0 comments
Please sign in to leave a comment.