Re: [SLE] rsync syntax help
- From: Jim Cunning <jcunning@xxxxxxxxxxxxxxx>
- Date: Wed, 29 Mar 2006 13:56:04 -0800
On Wednesday 29 March 2006 13:34, Ken Schneider wrote:
[snip]
That's not what the closing / does. According to the man page, a trailing /
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.
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
- Follow-Ups:
- Re: [SLE] rsync syntax help
- From: Ken Schneider
- Re: [SLE] rsync syntax help
- References:
- Re: [SLE] rsync syntax help
- From: Ken Schneider
- Re: [SLE] rsync syntax help
- Prev by Date: Re: [SLE] Why no Reply-to?
- Next by Date: [SLE] Re: Why no Reply-to?
- Previous by thread: Re: [SLE] rsync syntax help
- Next by thread: Re: [SLE] rsync syntax help
- Index(es):
Relevant Pages
|
|