david.hsu
Intern
Intern
  • UID6521
  • Fans0
  • Follows0
  • Posts1
Reads:92Replies:1

How to batch delete files via ossutil64 tools ?

Created#
More Posted time:Nov 6, 2018 18:28 PM
Hi, sir/madam


I use oss save my files.
How to bacth delete files via ossutil64 tool?
I need example command.
Thank you.

hanneng
Assistant Engineer
Assistant Engineer
  • UID3277
  • Fans3
  • Follows0
  • Posts59
1st Reply#
Posted time:Nov 9, 2018 14:30 PM







to list all files in bucket


# ossutil ls oss://bucket-name


# ossutil ls oss://bucket1-name -a


to delete a bucket


# /ossutil rm oss://bucket1-name -b


to delete all data in bucket


# ossutil rm oss://bucket-name -bar
Guest