Properly executing rsync commands locally