Last active
April 19, 2020 17:48
-
-
Save iknowjason/301e3b9a20f9ed20c6ac58fd85019227 to your computer and use it in GitHub Desktop.
List objects in a bucket with just object names
This file contains 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
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