updated aws_s3_sync.sh

pull/16/head
Hari Sekhon 3 weeks ago
parent 81bddc72e4
commit 3c36bc733d

@ -79,6 +79,7 @@ else
fi
sources_len="${#sources[@]}"
timestamp "$sources_len sources loaded"
echo
if [ -f "$destination" ]; then
timestamp "Loading destinations from file '$destination'"
@ -91,6 +92,7 @@ else
fi
destinations_len="${#destinations[@]}"
timestamp "$destinations_len destinations loaded"
echo
if [ "$sources_len" != "$destinations_len" ]; then
die "ERROR: length of sources and destinations arrays of paths are not equal in length: sources ($sources_len) vs destinations ($destinations_len)"

Loading…
Cancel
Save