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?<\/p>","upvoteCount":5,"answerCount":7,"datePublished":"2015-01-18T20:51:10.000Z","author":{"@type":"Person","name":"michaeldombi4120","url":"https://community.spiceworks.com/u/michaeldombi4120"},"acceptedAnswer":{"@type":"Answer","text":"
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:<\/p>\n
subst x: \\123\\456\\789\\abc\\def<\/p>\n
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.<\/p>\n
You can do the same with a share instead, if the files are being accessed via the network.<\/p>","upvoteCount":4,"datePublished":"2015-01-18T21:53:59.000Z","url":"https://community.spiceworks.com/t/file-paths-greater-than-260-characters-in-windows/371900/4","author":{"@type":"Person","name":"DragonsRule","url":"https://community.spiceworks.com/u/DragonsRule"}},"suggestedAnswer":[{"@type":"Answer","text":"
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?<\/p>","upvoteCount":5,"datePublished":"2015-01-18T20:51:10.000Z","url":"https://community.spiceworks.com/t/file-paths-greater-than-260-characters-in-windows/371900/1","author":{"@type":"Person","name":"michaeldombi4120","url":"https://community.spiceworks.com/u/michaeldombi4120"}},{"@type":"Answer","text":"
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.<\/p>\n