Cloud-Synced Folders
Cloud-synced folders automatically stay in sync with connected cloud storage, regularly updating to ensure all new and existing files are available in Encord without manual intervention. Cloud-synced Folders require that you have at least one integration set up.- Cloud-synced folders support images, videos, PDFs, text, HTML, and audio files.
Image groups, image sequences, and DICOM series are not currently supported by Cloud-synced folders.
- A single cloud synced folder can contain a maximum of 10 million files.
Create a Cloud-synced Folder
Create Cloud-synced Folder
Sync Cloud-synced Folder with Cloud Storage
The following code syncs a Cloud-sync Folder with the cloud storage bucket. Thesync_private_data_with_cloud_synced_folder_get_result time out value can be adjusted to your needs.
Sync Cloud-synced Folder
Create New Standard Folder
The following script creates a new folder in the root directory of Data > Files & Folders. Ensure that you:- Replace
<private_key_path>with the path to your private key. - Replace
<folder_name>with the name you want to give your folder. We recommend using unique folder names. - Replace
A folder to store my fileswith a meaningful description for your folder. - Replace
my: folder_metadatawith any metadata you want to add to the folder. Remove the line if you do not want to add any metadata to the folder.
Move Files
Use the following script to move various types of files to a different folder in Data > Files & Folders. Ensure that you:- Replace
<private_key_path>with the path to your private key. - Replace
<data_unit_name>with the name of the file you want to move to a new folder. - Replace
<target_folder_name>with the name of the folder you want to move the file from. - Replace
<target_folder_name>with the name of the folder you want to move the file to.
Move Folders
You can move folders between different parent folders in Data > Files & Folders, including moving them to the root (no parent). The following script demonstrates how a folder with the nameFolder Name 3 is moved between 2 different target folders. The script must be modified to suit your needs.
Ensure that you:
- Replace
<private_key_path>with the path to your private key. - Replace
Folder Name 1with the name of a target folder. - Replace
Folder Name 2with the new name of another target folder. - Replace
Folder Name 3with the name of the folder that is moved.
Folders
Update URL for Cloud Storage Files
Use the following script to update the cloud storage path of your files in Encord when, for example:- You move files in cloud storage
- Update your folder structure in cloud storage
- Update URLs to use multi-region access points
Change Cloud Storage Provider
Using the SDK you can change from one cloud storage provider (for example AWS) to another cloud storage provider (for example GCP) while maintaining data integrity.Change Cloud Storage Provider
Update Folder Properties
Use the following script to update the name and description of an existing folder in Data > Files & Folders. Ensure that you:- Replace
<private_key_path>with the path to your private key. - Replace
Cat Videoswith the name of the folder you want to update properties for. - Replace
Cat videos and imageswith the new name you want to give the folder. - Replace
Images and videos of catswith the description you want to give the folder.
Delete Folders
Use the following script to delete a specific folder from Data > Files & Folders. Ensure that you:- Replace
<private_key_path>with the path to your private key. - Replace
Specific Folder Namewith the name of the folder you want to delete.

