John Van Essen wrote:
thanks john, that solved the problem. i should've perhaps looked at the manpage twice. the manpage (2.5.5) already states this quite clearly:Dave,What you need is the --force option. It's not obvious from the all-too-generic name, but that will do the trick. To the rsync maintainers - this is somewhat of an FAQ. Perhaps the error message could also say '(see the --force option)' to help users discover the solution more easily.
--force force deletion of directories even if not empty
however, i personally think --force should be the default as it is more common, or shouldn't it?
--
dave
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html