Next: Bucket Project Links, Previous: S3 Bucket URL, Up: Bucket Index HTML [Index]
This code uses the s3-bucket-url result to obtain the list of projects in the
bucket.  It does  this by calling the  AWS S3 high-level command  ls and then
removing the  ‘PRE’ string in  each result.  The result  that is returned  is a
single  string that  can be  separated into  individual links  by breaking  the
string on spaces.
/usr/local/bin/aws s3 ls ${bucket} | sed -ne 's/^.*PRE //p'