failed: File name too long

Kip Warner kip at
Thu Mar 29 22:37:48 MDT 2012

Hey list,

I am using rsync version 3.0.7, protocol version 30, to transfer data
between amd64 and mipsel machines, tunnelled over SSH.

Some file names are very long and rsync unfortunately cannot transfer
them, issuing the following error message:

failed: File name too long (78)

I'm assuming the 78 is drawn from a system header that it was compiled
against and probably not universal to the error on all platforms, so the
message before it is probably all I need to be concerned with.

I've taken a look through the documentation and the mailing list
archives, and I can't find anyone that's found a resolution.

Is there a switch or some means of getting rsync to use a dynamically
sized file name buffer, or perhaps some other method for situations like
this? Or is this a no go and a problem that is a current design problem
without a solution to?

Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the rsync mailing list