Home > Linux > Rsync command with space in path

Rsync command with space in path


I’m using CentOS 6 in this case.

Below command shows rsync from remote to local directory where remote directory path has a space in it: //1.1.1.1/share/path with space/

 # rsync -r -v -e ssh 'admin@1.1.1.1:/share/path\ with\ space/' /mnt/local/
Advertisements
Categories: Linux Tags: , , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: