Add --delete-empty-folders flag to index-assets console command #13947
-
|
We have an integration with Cloudinary DAM and Craft via thomasvantuycom's excellent plugin and need to periodically perform asset re-indexing via a cron with the console command. As the DAM potentially has a bunch of nested subfolders housing the assets, which can change, we need to be able to update the folders structures in craft too. The List Empty Folders For Deletion flag in the CP Index Assets page should do the job, but it's not currently available as a flag in the console command – can it be? (to delete missing folders without a further confirmation) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Added for Craft 4.6 via #14026 🎉 |
Beta Was this translation helpful? Give feedback.
Added for Craft 4.6 via #14026 🎉