rsync error: some files could not be transferred (code 23)

Matt McCutchen hashproduct+rsync at gmail.com
Thu Jul 5 00:05:56 GMT 2007


On 7/4/07, Wayne Davison <wayned at samba.org> wrote:
> On Wed, Jul 04, 2007 at 03:36:35PM +0200, Peppe La Rosa wrote:
> > and it doesn't backup all "Document and Settings" directory !!!
>
> That's not what it said.  The name of the directory is apparently this:
>
> Documents and Settings\Amministratore\Desktop

If the source path is given as "Documents and
Settings\Amministratore\Desktop", rsync can access the source files
just fine because Cygwin knows to split the path at backslashes.
However, rsync considers the path to be a single component, includes
it in the file list because there's no trailing slash, and tries to
recreate it inside the destination.  Adding a trailing slash in the
command should solve the problem.

Matt


More information about the rsync mailing list