I have an amazon s3 bucket that has tens of thousands of filenames in it. What\'s the easiest way to get a text file that lists all the filenames in the bucket?
For Python's boto3 after having used aws configure:
aws configure
import boto3 s3 = boto3.resource('s3') bucket = s3.Bucket('name') for obj in bucket.objects.all(): print(obj.key)