Closed taichi-jp closed 6 years ago
Hi @taichi-jp,
GCS doesn't behave like a filesystem and is a flat namespace similar to a key value pair. Directories/paths are simulated in the GCS browser.
In order to delete objects that have the same prefix or path, a delete request must be made per object in a bucket.
Thank you!
I know
cloudstorage.delete(filename)
deletes a file, but I want delete a directory and all the files in it likecloudstorage.delete(dir)
. Is there any ways to do this?