Rename or Copy folder
Hi,
We are planning to move our web application from staging to production in order to go live, and we have faced a difficulty. We didn't think of the folder name beforehand. So we need to rename (or copy folder with new name) a folder that already contains media files. We couldn't find an easy way to do that.
Although, we have found this, but maybe you can suggest some safe way.
-
Hi Freddy,
While it's on our road-map to support renaming folders, currently moving to a new folder can be done by renaming the public ID, as the article you've mentioned suggests.
Another option is to upload to a new folder, which can be done either with a script or with auto-upload which on the first GET request of the images we'll fetch it from the original folder and store it in the new one.
0 -
This is an MVP feature, please get it live asap 😅
2 -
same goes for this: https://support.cloudinary.com/hc/en-us/community/posts/201256601-Rename-Folder
0 -
Hi,
It's on our road map to rename a folder in the UI.
we will update here when it will be available.
Cheers,
0 -
Any updates?
1 -
Hi Ben,
I apologize but there are no updates to share currently.
We will share any news will have here.0 -
Hi folks, any updates on this?
I was just astonished that renaming folders actually does not work. This was supposed to be a quick change request.Could you please give me an update? Thank you very much.
0 -
Hi,
Our team is working on a solution for this and once I have an update, I will be glad to share it. In the meantime, you can rename each asset individually using our Rename API (More info can be found here).
0 -
Hi @Daniel, any news on the current state of this feature?
0 -
Hi,
This feature is still in development. We will be happy to update you once it is released. You can also follow the latest releases on our Roadmap page.
0 -
Hello,
Until cant find an edit button for folder name.
0 -
Hi,
Renaming folders via the UI is yet to be available. However, a simple workaround would be to use the UI of the Media Library to create a new folder/subfolder with the desired name and then move the assets from the existing folder into the new one.
To move assets from one folder to another, you'll need to select all the images in a folder by clicking the top left corner of the image thumbnail and then there should be a tool bar that will show up which allows you to "select all". Once the images are selected, you can choose the "Move to folder" option which is available In that same tool bar.
After moving all the images you can delete the empty folder by clicking the 3 vertical dots on the folder and selecting the delete option.Kind regards,
Millie0 -
Cloudinary uses S3 under the hood to store assets, and S3 is not a file system but a key-value store, "folders" is just a tag that multiple objects share, so to implement a folder rename means to edit all objects and change their tags, which can take hours for lots of objects. The same applies for moving folders from one parent to another.
I'd be surprised if their engineers come up with an easy solution.
0 -
Hey Milan,
You're right it is a very time-intensive process. Fortunately, our engineers have come up with an easy solution. Dynamic Folders is a mode that enables Cloudinary users to move assets between asset folders and rename those folders without affecting the asset's public_id value and delivery URL path.
While DF's are currently still in BETA, you can feel more than free to request access to this new service by opening a support ticket https://support.cloudinary.com/hc/en-us/requests/new.0 -
Thanks! I'm a new cloudinary user, just started 2 days ago, and saw dynamic folders mentioned but seems like they are not enabled by default (yet).
What I meant by "easy solution" is something that can be implemented in a few days. I doubt your team was able to implement dynamic folders in a week.
0 -
Hi Milan,
Thanks for getting back.
Please let me know if you have any other questions or queries.
Kind Regards,
Thomas0
Post is closed for comments.
Comments
16 comments