[CentOS] Re: rsync arg list to long - solved
Tony Mountifield
tony at softins.clara.co.ukThu Aug 30 18:52:12 UTC 2007
- Previous message: [CentOS] rsync arg list to long - solved
- Next message: [CentOS] rsync arg list to long
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <46D6F986.4040106 at pagestation.com>, Jerry Geis <geisj at pagestation.com> 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: tony at softins.co.uk - http://www.softins.co.uk Play: tony at mountifield.org - http://tony.mountifield.org
- Previous message: [CentOS] rsync arg list to long - solved
- Next message: [CentOS] rsync arg list to long
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list