Home > front end >  What is the command line to delete firebase storage folder or file?
What is the command line to delete firebase storage folder or file?

Time:02-26

I have been searching in vain for quite some time how to delete a Firebase storage (i.e. not Firestore or Real-Time Database).

For Firestore it is possible to simply use firebase firestore delete [path]. What is the equivalent for Firebase Storage assuming want to delete an /images folder?

CodePudding user response:

The Firebase CLI does not have any options for working with Cloud Storage. You will have to use the gsutil CLI instead. It has an rm command for this.

See also: Deleting a large folder from Google Cloud Storage

  • Related