error - File or path name too long

Wayne Davison wayned at samba.org
Wed Dec 28 18:16:19 GMT 2005


On Wed, Dec 21, 2005 at 09:30:05AM -0500, Yuan, Zhiyong (Exchange) wrote:
> readlink directioty_1/directioty_2/directioty_3/A_very_long_File_name_omitted_here: File or path name too long

The OS has a maximum size that they will allow for the path+filename to
be specified.  If a filename combined with its path exceeds this length,
the OS will complain about it and refuse to open it by that name.  Your
only options are to either make the name shorter, or chdir down deeper
in the hierarchy before copying the file.

..wayne..


More information about the rsync mailing list