How can I rename folders?
We don't use dynamic folders. Is there any other way to rename folders other than downloading all assets and reuploading them to the newly created folder?
Answers
-
Hi MarijaJ,
Thanks for reaching out. You are correct, folder names can only be modified if you move to Dynamic Folders. More information on Dynamic Folders here: https://cloudinary.com/documentation/dynamic_folders
The traditional workaround here is to create the new folder, and then move the assets you would like into that folder.
Assets can be moved in the Media Library by selecting them and then selecting the "Move to Folder" option in the upper right menu. This can also be done via the API, using the Upload API's rename method. Both of these methods are more efficient than downloading and re-uploading.
More information on this here:
https://cloudinary.com/documentation/image_upload_api_reference#rename
I hope this helps. Please let me know if you have any further questions.
Best regards,
John
0