In article <[EMAIL PROTECTED]>,
Jerry Geis <[EMAIL PROTECTED]> wrote:
> 
> Doing " rsync -a /somedirectory/* . " doesnt work

If you have a ton of file in /somedirectory/ then the shell will complain
when it tries to construct a list of arguments a mile long.

> Doing " rsync -a /somedirectory . " does work.

Yes, and you should also note the difference between /somedirectory and
/somedirectory/ which in rsync cause different things to happen.

If /somedir contains files a, and b, then this:

rsync -a /somedir /destdir

will create /destdir/somedir/a and /destdir/somedir/b

whereas:

rsync -a /somedir/ /destdir

will create /destdir/a and /destdir/b

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to