Re: [SLE] rsync syntax help



On Wednesday 29 March 2006 13:34, Ken Schneider wrote:
[snip]

I would use rsync -varpltz --stats /home/hylton/ /media/backup/home

Make sure you include a closing / on the source so that you get a
recursive copy.
That's not what the closing / does. According to the man page, a trailing /
on the source changes the behavior so that "You can think of a trailing / on
a source as meaning 'copy the contents of this directory' as opposed to
'copy the directory by name' " Recursive copying is controlled by -r.

In your example, the contents of /home/hylton would be copied
to /media/backup/home. There would be no /media/backup/home/hylton directory
created--probably not what the OP expects.

Jim

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • Re: [SLE] The return of SUSE
    ... On Saturday 11 March 2006 06:01 am, Ken Schneider wrote: ... Check the headers for your unsubscription address ... Also check the archives at http://lists.suse.com ...
    (SuSE)
  • Re: Note: Netsurf shoots me down
    ... Harriet Bazley wrote: ... this (*before* running Netsurf!) when you next start up your computer. ... desktop/netsurf.c netsurf_exit 113: Closing fetches ...
    (comp.sys.acorn.apps)
  • Re: using self.free works better for me, why not???
    ... >has no effect until the event handler is history. ... Giving the form an additional Property: Closing ...
    (comp.lang.pascal.delphi.misc)
  • Re: [SLE] rsync syntax help
    ... Make sure you include a closing / on the source so that you get a ... on the source changes the behavior so that "You can think of a trailing / on ... UNIX since 1989, linux since 1994, SuSE since 1998 ...
    (SuSE)
  • Re: [opensuse] Damned Disappointed in openSuSE Support
    ... This arrived tonight: ... against openSUSE. ... Therefore I'm closing these now as WONTFIX. ...
    (SuSE)