Re: rsync command for multi files and dirs from remote server

2011-09-19 Thread Noah
1. don't need the '-e' option ('ssh' is the default, and the options will come from ~/.ssh/config) 2. can use the Host specified above to shorten the source 3. don't need the redundant '-r' and '--perms' (-a includes both) /usr/bin/rsync -avz --human-readable --progress --update --ignore-exist

Re: rsync command for multi files and dirs from remote server

2011-09-18 Thread Benjamin R. Haskell
[reversing t On Sun, 18 Sep 2011, Kevin Korb wrote: On 09/18/11 23:06, Benjamin R. Haskell wrote: On Sun, 18 Sep 2011, Noah wrote: Hi there, okay so I have a port knocker installed on my remote server so I am trying to bundle a bunch of directories in a single ssh session that rsync establi

Re: rsync command for multi files and dirs from remote server

2011-09-18 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 BTW, you can specify all that stuff in ~/.ssh/config and save your fingers some wear. On 09/18/11 23:06, Benjamin R. Haskell wrote: > On Sun, 18 Sep 2011, Noah wrote: > >> Hi there, >> >> okay so I have a port knocker installed on my remote server so

Re: rsync command for multi files and dirs from remote server

2011-09-18 Thread Benjamin R. Haskell
On Sun, 18 Sep 2011, Noah wrote: Hi there, okay so I have a port knocker installed on my remote server so I am trying to bundle a bunch of directories in a single ssh session that rsync establishes. so far all the rsync examples I have seen require a new ssh session for each directory. is

Re: rsync command for multi files and dirs from remote server

2011-09-18 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Look into ssh connection sharing (search for ControlMaster). You can set ssh to use a single TCP connection (and authentication) for all ssh activity to a specific host. On 09/18/11 22:53, Noah wrote: > Hi there, > > okay so I have a port knocker in

rsync command for multi files and dirs from remote server

2011-09-18 Thread Noah
Hi there, okay so I have a port knocker installed on my remote server so I am trying to bundle a bunch of directories in a single ssh session that rsync establishes. so far all the rsync examples I have seen require a new ssh session for each directory. is there anyway to get something like