scp is looping without being in a loop
I'm trying to execute some fairly simple code to transfer some files from one server to another.
$ cat xfer_directory.sh
rm -Rf /cygdrive/g/directory/usr/*
rm -Rf /cygdrive/g/directory/var/*
# scp -r -C -c blowfish firstname.lastname@example.org:/var/ .
scp -r -C -c blowfish email@example.com:/usr/ .
As you can see there are no obvious loops. Yet the transfer never gets to the second scp statement. It hits a particular subdirectory of /usr and continues to transfer that subdirectory and its' contents until I break out of the seemingly looped condition.
Neither of the primary directories nor the subdirectories are symbolic links. I'm at a loss for why this simple script keeps looping without any looping statements in the script.
I'm sure it's something simple I'm just not able to see. Any help/comments would be gratefully appreciated.