[lug] rsync issue

Adam McFarren amcfarre at gmail.com
Thu Jun 8 13:45:50 MDT 2017


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.


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@$ /what/ever/
> and I get this error:
> Unexpected remote arg: user@$ /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

More information about the LUG mailing list