Created
March 1, 2019 18:23
-
-
Save cfsilence/28fbdadbe6d565e16d21c6b567cdad06 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def result = "oci os multipart list -bn doggos --all".execute() | |
def multipartObject = new groovy.json.JsonSlurper().parseText(result.text) | |
multipartObject.data.each { | |
println "oci os multipart abort --bucket-name ${it.bucket} --object-name ${it.object} --upload-id ${it['upload-id']} --force".execute().text | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment