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...
Does selective sync help with this and then we will also have the On-Demand sync coming out for Windows 10?
- John MarshallMay 31, 2017Brass Contributor
Hi Cian,
I get what you're saying with Selective Sync, however that would apply, as I understand, to files already within the sync folder or files that or in the cloud already that I may or not want to sync.
My requirement is to sync files outwith the sync folder, and without having to move them into it in order to sync them.
On-demanc Sync is something new to me. I just did a quick search and seems to be related to working with cloud-based files on or offline, when required and is more a space-related them.
To sum up, what I'm looking for would allow my to sync a given file or folder without having to move it, or duplicate it, so that it ends up in the OneDrive Sync folder. I guess maybe it would be a right click option over the file in File Explorer to enable it's synchronization with OneDrive. Is this something we already have and maybe I need to enable?
- Salvatore BiscariMay 31, 2017Silver Contributor
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...
- AnonymousJun 19, 2018
Which way should the links point? Do I have to move the folder to one drive and then link back to where I want it to be, or can I just create the link folder in my one drive directory and point it to my original folder?