Skip to content

Instantly share code, notes, and snippets.

@jhoblitt
Created November 21, 2017 17:56
Show Gist options
  • Save jhoblitt/579618cd6473b90e1b06d2d52f3058d6 to your computer and use it in GitHub Desktop.
Save jhoblitt/579618cd6473b90e1b06d2d52f3058d6 to your computer and use it in GitHub Desktop.
#!/bin/bash
#set -e
set -o xtrace
for m in {4..10}; do
mon=$(printf "%02d" $m)
for d in {2..30}; do
day=$(printf "%02d" $d)
aws s3 rm --recursive "s3://eups.lsst.codes-backups/2017/${mon}/${day}" &
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment