SyncToy 2.1在“路径太长”之后忽略常规文件。 [英] SyncToy 2.1 ignores regular files after "path too long"

查看:291
本文介绍了SyncToy 2.1在“路径太长”之后忽略常规文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

版本2.1存在众所周知的错误,即路径超过一定长度的文件无法同步。不幸的是在这种情况下("无法从源文件读取… ")SyncToy显然忽略了同一文件夹中的所有残留文件,即使它们的路径长度低于临界限制。在任何错误消息中都没有提到这些被忽略的文件,甚至在SyncToyLog.log中也没有。从可靠备份的角度来看,我认为这是一个非常严重的错误。

请告知开发人员。

There is the well known bug of version 2.1, that files with paths exceeding a certain length can not be synchonized. Unfortunately in such a case ("Cannot read from the source file … ") SyncToy ignores all residual files in the same folder obviously, even if their path length is below the critical limit. These ignored files are not mentioned in any error message, not even in SyncToyLog.log. From the viewpoint of reliable backup I would call this a very severe bug.

 
Please inform the developers.

推荐答案

Wolfgangbeyer:
我很高兴你选择了SyncToy,我必须说你非常谨慎地找到这个场景。但我应该告诉你的是,这种问题不是由SyncToy引起的。众所周知,Windows中的路径长度有限。因此,如果(FileFolderPath + FileName)超出了长度限制,则OS不允许。但是考虑另一个scenaro,if(LeftFileFolderPath + FileName)不会耗尽长度限制,这只是因为LeftFileFolderPath不是那么长。但RightFileFolderPath足够长(RightFileFolderPath + FileName)用完了有限的长度。在这种情况下,如果我们从LeftFolder同步到RightFolder,会发生什么?是的,SyncToy无法正常工作(RightFileFolderPath + FileName)长度超过长度限制。

所以,我的建议是不要将文件夹级别设置得那么深,不要设置文件名这么久。据我所知,Windows中的路径可以携带不到128个特征。

谢谢,
丹麦语
Hi, Wolfgangbeyer:

I'm glad that you choose SyncToy, and I must say you are very circumspective to find this scenario. But what I should tell you is this kind of problem is not caused by SyncToy. As we all know, path in Windows has a limited length. So if the (FileFolderPath + FileName) run out of the length limited, it is not allowed by OS. But to think about another scenaro, if (LeftFileFolderPath + FileName) dose not run out of the length limited, which just because the LeftFileFolderPath is not so long. But RightFileFolderPath is long enough that (RightFileFolderPath + FileName) run out of the length limited. In this situation, if we sync from LeftFolder to RightFolder, what would be happened? Yes, SyncToy would not work cause (RightFileFolderPath + FileName) is longer than the length limit.

So, my suggestion is not to set your folder level so deep and not to set your file name so long. To my knowledge, thepath in Windows can carry less than 128 charactors.



Thanks,
Danish


这篇关于SyncToy 2.1在“路径太长”之后忽略常规文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆