How to recursively delete s3 objects from a folder.
We can use AWS CLI command to perform fast delete of s3 obejcts.
import subprocess
subprocess.call(['aws', 's3', 'rm', "s3://s3_bucket", '--recursive'])
How to recursively delete s3 objects from a folder.
We can use AWS CLI command to perform fast delete of s3 obejcts.
import subprocess
subprocess.call(['aws', 's3', 'rm', "s3://s3_bucket", '--recursive'])
Comments
Post a Comment