On Wednesday 21 October 2009 01:29:16 am Per Jessen wrote:
David C. Rankin wrote:
On Sunday 18 October 2009 07:01:07 am Per Jessen wrote:
The filelist option is really when you want to make sure you can specify _any_ number of files.
Well that is exactly what this snippet does. That was the beauty of it.
We're probably splitting hairs, but I meant any number of files regardless of the shell input length restriction. When you don't use --files-from or similar, your rsync command will exceed the max input length with e.g. 32000 files or patterns.
Well, to be splitting it, we both have to see what we're splitting. The limit completely evaded me as I have never hit it and I have done some REALLY BIG rsync pulls and pushes from server to server. I guess if I tried to do rsync -uav /usr box2:/big/backup I might have had more of a feel for what you are saying. The only size limit in the snippet would be the array limit and I've routinely used 12-15,000 element arrays in bash. It's probably the same limit somewhere around 32,000. I just hope I never see that one either ;-) -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org