On Sat, 20 Jun 2015 07:11:48 -0700 (PDT), in message
alpine.LNX.2.11.1506200708210.8143@localhost, Rich Shepard wrote:

> 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.

Argh...  I meant the _source_ directory.  (*sigh* not enough coffee.)
The remote host's path has to be absolute, or rsync won't know where
subdir and its files are.

--Dale

-- 
"If it's not loud it doesn't work!"    -- Blank Reg, "Max Headroom"

Attachment: pgpGwaP_osE6O.pgp
Description: OpenPGP digital signature

_______________________________________________
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to