[lug] rsync issue

Tommaso Curto tommaso.curto at gmail.com
Thu Jun 8 13:49:56 MDT 2017


Hi Adam,

sorry, the $ is just a typo. I am running the following and getting the
error:
rsync –arR –files-from=my_files.tmp user at 1.2.3.4:/aaa/bbb/ /what/ever/

Tommaso

On Thu, Jun 8, 2017 at 1:45 PM, Adam McFarren <amcfarre at gmail.com> wrote:

> Tommaso,
>
> What's with the "$" in your user at host section?
>
> I did a mini-test here and using --from-files worked okay with the
> remote source and local destination.
>
> -adam
>
> On Thu, Jun 8, 2017 at 3:19 PM, Tommaso Curto <tommaso.curto at gmail.com>
> wrote:
> > Hello BLUG,
> >
> > I am trying to issue the following rsync command with no success:
> > rsync –arR –files-from=my_files.tmp user@$1.2.3.4:/aaa/bbb/ /what/ever/
> >
> > and I get this error:
> > Unexpected remote arg: user@$1.2.3.4:/aaa/bbb/ /what/ever/
> > rsync error: syntax or usage error (code 1) at main.c(1348)
> [sender=3.1.1]
> >
> > I've been trying to find the correct syntax to make this work, with no
> > success.
> > All I need is to run rsync (from my local machine) and grab the files
> > specified in my_files.tmp (saved on my local machine) from the remote
> > machine to my local machine.
> > All the examples I found are with my_files.tmp on the source machine,
> but I
> > cannot do this in my specific case.
> >
> > What am I doing wrong? Any help or hint is appreciated :-)
> >
> > Thank you,
> > Tommaso
> >
> >
> >
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> > Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20170608/b09934eb/attachment.html>


More information about the LUG mailing list