Skip to content

Instantly share code, notes, and snippets.

@mickael-kerjean
Created August 31, 2023 07:18
Show Gist options
  • Save mickael-kerjean/8ef1523b21025fa1caf80fd609145a83 to your computer and use it in GitHub Desktop.
Save mickael-kerjean/8ef1523b21025fa1caf80fd609145a83 to your computer and use it in GitHub Desktop.
aws s3 ls qantas-qfa-dummy/specs/ > /tmp/tmp.dat
cat /tmp/tmp.dat | sed 1d | awk '{printf $1"."$4"\n"}' | awk -F "." 'BEGIN{print "<style>a{text-decoration:none;font-family:monospace;font-size:1rem;}</style>"} {printf("<a href=\"%s.%s\">%s %s</a><hr>\n",$2,$3,$1, $2)}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment