mesos/spark-ec2 — pull request #64 by mengxr (2014-08-14 05:10:01+00:00)
Title: check whether file/directory exists

If a user run copy-dir with a wrong path and "--delete", the worst outcome is that rsync will remove everything on the worker node including ssh configurations.