Skip to content

Instantly share code, notes, and snippets.

@satiridev
Last active November 6, 2020 03:27
Show Gist options
  • Save satiridev/931bd376113e09059403994dee9b1e18 to your computer and use it in GitHub Desktop.
Save satiridev/931bd376113e09059403994dee9b1e18 to your computer and use it in GitHub Desktop.
Collect All Files in A AWS S3 Bucket
#!/bin/bash
# produce list of all files in buckets
echo "collecting..."
aws s3 ls --recursive my-bucket > my-files-in-bucket.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment