fixed rsync syntax and getopts (stupid as hell, only supports short options)