29
tahnik
8y

Wanted to deploy my local files to remote server using rsync.

Used wrong syntax, replaced my local files with remote instead :(

Comments
  • 2
    For simple non periodic file transfer you can just use `scp` command
  • 2
    This rant just made me run to my computer and check the new deployment script I wrote half an hour ago. The rsync command was correct, but I found another potentially dangerous mistake.
    Thank you!
  • 2
    You must be *this* tall to use rsync
  • 1
    Github.
  • 0
    @tahnik append --dry-run at the very end of your command. That way you can check the result before actually anything happens.
Add Comment