如何从 cloudinary 下载图像?
我列出我的资源,然后我创建一个 zip 文件,然后?过程没看懂
cloudinary.v2.api.resources()
.then((res => {
res.resources.map((el => {
cloudinary.v2.uploader
.create_zip({tags: 'PDF', public_ids: el.public_id})
.then(result=>console.log(result));
}))
}))
在这里使用 Cloudinary CLI 是一个不错的选择:
https://cloudinary.com/documentation/cloudinary_cli#sync
sync命令在本地文件夹和Cloudinary之间同步 文件夹,维护文件夹结构。
语法 cld [cli options] sync [command options] local_folder cloudinary_folder
尝试使用“--pull”选项将目录下载到本地桌面。