Forum Discussion
Include files in OneDrive sync without copying them
- May 31, 2017
Hi John.
This feature is not available natively at the moment, but luckily there is a very effective workaround (if you are using NTFS as the local file system).
You should simply create in the local sync folder a symbolic link to the folder that you want to sync (which is located elsewhere) and such folder will sync as if it were a regular subfolder of the local sync folder (it can even be selectively synced...).
You can create symbolic links using the command line or by a wonderful utility called Link Shell Extension.
Hope it helps...
In my case I want to create a link in my onedrive folder that refers to a folder on another drive. When I try to create a hard link I get the error message: "The system cannot move the file to a different disk drive". :(
- Salvatore BiscariMar 03, 2018Silver Contributor
Yes, hard links are in practice aliases, so they don't work on different disks...