Skip to content

Instantly share code, notes, and snippets.

@BenjaminVerble
Last active June 6, 2017 18:25
Show Gist options
  • Select an option

  • Save BenjaminVerble/34b04a10ea2dca9054c2186b0a204901 to your computer and use it in GitHub Desktop.

Select an option

Save BenjaminVerble/34b04a10ea2dca9054c2186b0a204901 to your computer and use it in GitHub Desktop.

Revisions

  1. BenjaminVerble created this gist Jun 6, 2017.
    4 changes: 4 additions & 0 deletions rsync-over-ssh.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    # https://www.digitalocean.com/community/tutorials/how-to-copy-files-with-rsync-over-ssh
    # modified slightly

    rsync -avz -e "ssh -o StrictHostKeyChecking=no" --progress ~/Desktop/test.txt [email protected]:~/Desktop/