[PLUG] rsync: no; scp: yes

Rich Shepard rshepard at appl-ecosys.com
Sat Jun 20 14:11:48 UTC 2015


On Sat, 20 Jun 2015, Dale Snell wrote:

> If memory and my interpretation of the man page are correct (and neither
> may be, I've not had my morning caffeine yet), rsync requires you to
> specify an absolute path for the destination. Hence
>
>  rsync -avz host:/path/to/dir/subdir/ .
>
> should work.

Dale,

   Yep, it should. And that's worked many times before. The terminal slash
prevents creation of another subdirectory with the same name on the target
host.

> Nope. To quote the man page, 'As a special case, if a single source arg is
> specified without a destination, the files are listed in an output format
> similar to "ls -l".'

   Thought so.

   I was surprised when rsync failed in the two tries before I switched to
scp.

Thanks,

Rich



More information about the PLUG mailing list