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?
How to find files/folders not copied due to path depth.
-
Derek.O
- Posts: 1
- Joined: 02 Mar 2022 23:06
-
jupe
- Posts: 3575
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: How to find files/folders not copied due to path depth.
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:
PS: I thought RoboCopy supported long paths now...
::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: > 260PS: I thought RoboCopy supported long paths now...
-
Nataliee_Sharzy
- Posts: 1
- Joined: 20 Dec 2021 14:02
Re: How to find files/folders not copied due to path depth.
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 .
-
admin
- Site Admin
- Posts: 67314
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: How to find files/folders not copied due to path depth.
Not necessary. XYplorer's Custom Copy handles the maximum NTFS path depth easily.
FAQ | XY News RSS | XY X
XYplorer Beta Club