Page 1 of 1

How to find files/folders not copied due to path depth.

Posted: 03 Mar 2022 03:14
by Derek.O
This has always been a problem for me. I use robocopy a ton and have so many hard drives that have long file paths and robocopy doesn't copy everything. So then I have to figure out where the long file paths are to shorten them to allow the copy to function and get a complete copy. But I haven't found a comparison tool that seems to do it right. I have used WinMerge and BeyondCompare and both tell me two directory structures are the same. No left only, or right only files. But if I do a select all at the root of each structure and properties the file/folder count and total size count is different. So Windows can tell me they are different but the compare tool cannot.

I need a fast way to narrow down where differences exist.

I tried adding the Size column in XYplorer so I could see the Raw Bytes Count of all the folders at the root figuring it would show me which folders have a size different. Nope. It says the Source side and Destination side are all the same raw byte counts on all the folders. But I select all folders and do properties and Windows says - nope there's more files, folders and total size in the source than there is in the destination.

Has anyone figured out how easily compare a source and destination folder structure to pinpoint where files were not copied because of path depth?

Re: How to find files/folders not copied due to path depth.

Posted: 03 Mar 2022 03:38
by jupe
Without explaining dir comparisons (look up Sync Select in XY help), if you know that the copies aren't being done because of path length, you could use a color filter (and/or combine it with a search) in XY to highlight/find files which path extends beyond a certain length, for example enter this in the XY address bar: ::colorfilter("+len:>260>FFFFFF,FB4F04"); or if a search is preferred enter the following while you are in the root of the relevant folder: ?len: > 260

PS: I thought RoboCopy supported long paths now...

Re: How to find files/folders not copied due to path depth.

Posted: 09 Mar 2022 12:58
by Nataliee_Sharzy
If your problem about copying long pathname files , just try the "Long Path Tool " , GsRichcopy 360 or Teracopy , all these tools handle any copy and no need to detect the long paths because it will be copied without any lost .

Re: How to find files/folders not copied due to path depth.

Posted: 09 Mar 2022 14:06
by admin
Not necessary. XYplorer's Custom Copy handles the maximum NTFS path depth easily.