[lug] rsync issue

Chip Atkinson chip at pupman.com
Thu Jun 8 13:52:56 MDT 2017


Could it be that you have non-ascii hyphens in there?  When I see the 
arguments in my text-only email reader I see

rsync ?arR ?files=from...

which makes me think that you are not actually using ascii 45 (0x2D), or 
the - character to start your args.

Chip

On Thu, 8 Jun 2017, Tommaso Curto wrote:

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


More information about the LUG mailing list