Bash array syntax

This commit is contained in:
Samuel Clay 2021-07-16 12:40:50 -04:00
parent 6c5fd797e3
commit 810ff86c63

View file

@ -18,7 +18,7 @@ collections=(
feedback
)
for collection in collections; do
for collection in ${collections[@]}; do
now=$(date '+%Y-%m-%d-%H-%M')
echo "---> Dumping $collection - ${now}"