Skip to content

Instantly share code, notes, and snippets.

@iknowjason
Last active April 19, 2020 17:48
Show Gist options
  • Save iknowjason/301e3b9a20f9ed20c6ac58fd85019227 to your computer and use it in GitHub Desktop.
Save iknowjason/301e3b9a20f9ed20c6ac58fd85019227 to your computer and use it in GitHub Desktop.
List objects in a bucket with just object names
s3cmd ls -r s3://<BUCKET>/<OBJECT>/ | awk ‘{print $4}’
aws s3 ls s3://<BUCKET> --recursive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment