On Sat, Feb 09, 2008 at 09:57:30PM +1100, Alex Samad wrote:
>
> rysnc -av /home.orig/* /home/
Using a * here will skip dotfiles in /home.orig.
There's probably none there but you never know.
Secondarily, anytime you use * you make it possible
to exceed to command line length.
It's sufficient to use a trailing / to get
everything in /home.orig.
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/
Matt
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html