I’d like to sync a network drive hosted on a Linux NAS with a drive on a Windows OS. The problem I imagine there will be is the Windows max file path limit of 260 characters while there are files and folders on the Linux NAS with files and folders that exceed the 260 character limit Windows has. Is there any suggestions for getting around this?

5 Spice ups

Some sync programs will ignore that because NTFS doesn’t actually have that limit. You may want to try Robocopy - it doesn’t have a 255 limit.

2 Spice ups

Hmm… the program I am using is FreeFileSync which does ignore that limit to my understanding, but will the files be accessible in Windows?

When I read about it ignoring the limit, I thought it would ignore it if it was moving data from say one Linux NAS to another Linux NAS while running on a Windows OS.

Yes, they will be accessible in Windows, but you may need to get a little tricky. If the program you try to use can’t see them you can get around it with the SUBST command. Let’s say the folder \123\456\789\abc\def\ghi etc… You would go to a command prompt and enter:

subst x: \123\456\789\abc\def

And now you’ll have drive X starting at the “def” level, so you have the program go to drive X and it will be “123\456\789\abc\def” characters shorter, so it won’t hit the 256 limit.

You can do the same with a share instead, if the files are being accessed via the network.

4 Spice ups

Thanks Larry!

2 Spice ups

No problem

I’ve got anather chance: LONG PATH TOOL. It’s perfect.