On Sun, Feb 10, 2008 at 09:54:11PM +1100, Jamie Wilkinson wrote: > This one time, at band camp, Matthew Hannigan wrote: > >So just > > rsync -av /home.orig/ /home/ > >is good > > > > > >Note for rsync newbs; > > rsync -av /home.orig /home/ > >is different from > > rsync -av /home.orig/ /home/ > >The first will do what you want, the > >second will create /home/home.orig/ > > The other way around; ending with a trailing slash on both directories, as > you said the first time, will always make the second directory mirror the > first.
Ooops, that was a typo; I should have stopped at the "is good" line. Thanks for the correction and sorry for the noise Matt -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
