Skip to content

Instantly share code, notes, and snippets.

@tralston
Created April 10, 2018 08:08
Show Gist options
  • Save tralston/ad8b397e6237fb7be78299670f6b6edb to your computer and use it in GitHub Desktop.
Save tralston/ad8b397e6237fb7be78299670f6b6edb to your computer and use it in GitHub Desktop.
[Rsync over SSH with Paths with Spaces]
# the -s argument protects what's inside the quotation marks. This is crucial when there are spaces in the path
rsync -avP -s --rsync-path=/bin/rsync ~e/Videos/Videos/2013/h265/* "superman@homenas:/volume1/PlexMedia/Home Videos/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment