Hello,

You should definitely be able to get buy with just the -a command for
most functions.  Also, why "--files-from"?  That shouldn't be
necessary.

A simple command would be:

rsync -a (files from) (files to)

If you're not comfortable trying this out, just enable the "dry run"
flag.  Look in 'man rsync' for assistance.  Also, try doing a Google
search for more info.

Good luck!

On Aug 20, 12:02 am, John Ohm <[email protected]> wrote:
> Not sure, but is it hanging on the -r tag?  Recursive is implied by the -a.
>
> From the man page (emphasis mine):
>
>     Note that, when using the *--recursive* (*-r*) option (which is
>     _/implied by *-a*/_), every subcomponent of every path is visited
>     from the top down, so include/exclude patterns get applied
>     recursively to each subcomponent's full name (e.g. to include
>     "/foo/bar/baz" the subcomponents "/foo" and "/foo/bar" must not be
>     excluded).
>
> Give that a shot,
> John
>
> ms wrote:
> > Hey,
>
> > thank you for reading.
>
> > I'll get this error:
> > --  rsync error: syntax or usage error (code 1) at options.c(1647)
> > [client=3.0.5]
>
> > when I try to call rsync this way (all paths are okay, sbfiles.txt
> > exists):
>
> > rsync -avhr --delete --files-from=/home/sm/sbfiles.txt /media/disk/
> > home
>
> > Can somebody tell me why?
>
> > Thank you very much.
> > ms
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to