Thanks. This worked perfectly. I used it to sync 2 additional physical drives on my laptop to OneDrive. I wasn't sure if you could sync an entire drive so I created a parent folder on each drive and moved all the files under that first.
what's the difference between using symlink ("\D" command) and junction ("\J" command)? also how did you make it sync automatically? for me I have to pause sync and restart it every time I make changes on local
Symbolic links are what you want to use as they work even when referencing remote shares. You shouldn't have to pause anything to sync just make sure you created a symbolic link.
Would this work on MacOS as well? I tried creating a softlink and on the finder ( Explorer) i see the appropriate folder and its contents in the One Drive drive. however when i go the online ondrive. i only see a link file with the folder name. but not a folder and none of its contents.... ive done this for my google drive and it works fine there
I have a folder(A) that i have linked to a folder in my onedrive (B) like in the Video. Now i want to link another folder (C) which is on another computer to the same onedrive folder (B). Is this somehow possible ?
is there a way to sync files on your desktop to an already existing folder in OneDrive without creating a subfolder inside the main folder. Eg: There is already a folder named "DemoOneDriveFolder" in OneDrive folder, and i want to sync contents of "D:\DemoDesktopFolder\" inside the "DemoOneDriveFolder" directly. I dont want to create another folder inside "DemoOneDriveFolder". Hope I made my doubt clear.
There is however it’s a bit involved. First either rename or move your local folder to another location. Then sync the folder in Onedrive. Finally move the contents of original local folder into this new synced folder.
Hi. Wat I want is not working. I want on another pc the files wil come in the exact location. Butt if I use mklink on another device. I get message that the folder already exist. Do you have a solution for me?
@@remko0469 you need to make sure the folder you are trying to link does not already exist. That message tells me a folder with same name already exists, remember Windows is not case sensitive.
It doesn't sync to the cloud.. it initially creates the folder with your file in the cloud, but if you add another file it will not sync to the cloud.. there will be 2 files on the PC folder but still only the 1 on Onedrive onlline. Can you overcome this?
No errors. I just followed the video again step by step and mine works exactly like yours. You made the symbolic link 'testing' in your OneDrive that contains the contents of c:\test1, which is one text file. 'testing' also shows up in your cloud OneDrive with the text file inside, shown in your browser. But you did not show any further replication. Add another file the the test1 directory on your c drive. It will show up in 'testing' also in OneDrive on your PC, but NOT in the 'testing' folder on your cloud OneDrive... won't replicate any more than the original contents of test1 folder. At least it absolutely will not on mine. Does it on yours? Thank you!
@@PcsnNet I'm the owner (in administrator group of local PC).. and I didn't see any permissions issues, the least permission had read & execute, but changed to everyone/full control and still no replication. Could it be because of the version? This is in Microsoft 365 apps for Enterprise. Very frustrating because this could be extremely useful. But if you have to keep everything you have in just a couple folders, it sort of defeats the purpose.
Thank you Great video and explanation... But I facing one problem when I a new file on my actual D drive it does not get created automatically on symlink folder any suggestion for that
Is D drive a local or network drive? Symlink can’t be right if the source ‘ target show different items as a symlink is just a pointer to the target. Run command dir /AL to make sure it really is a SYMLINK
Thanks. This worked perfectly. I used it to sync 2 additional physical drives on my laptop to OneDrive. I wasn't sure if you could sync an entire drive so I created a parent folder on each drive and moved all the files under that first.
Very Helpful! Thank you for this
Great info thanks. You just made a new subscriber
Kudos 👏
what's the difference between using symlink ("\D" command) and junction ("\J" command)? also how did you make it sync automatically? for me I have to pause sync and restart it every time I make changes on local
Symbolic links are what you want to use as they work even when referencing remote shares. You shouldn't have to pause anything to sync just make sure you created a symbolic link.
Would this work on MacOS as well? I tried creating a softlink and on the finder ( Explorer) i see the appropriate folder and its contents in the One Drive drive. however when i go the online ondrive. i only see a link file with the folder name. but not a folder and none of its contents.... ive done this for my google drive and it works fine there
It will work however on Linux and macOS the command to create Symlink is different but same concept
It works Thanks! But I need when add or delete file on PC directory that to reflect on cloud dir.
If symlink is setup it should sync additions/deletions. When you make a change to local file does the OneDrive icon change to show its syncing?
How do you safetly remove the LINK without removing the linked folder (eg: over on your D drive).
Delete the symbolic link like you would any file. It will only remove the link and not the item referenced by the link.
Thank you, this works even if the folder is not in the main drive C:, like E: or F:, right?
Correct
I have a folder(A) that i have linked to a folder in my onedrive (B) like in the Video. Now i want to link another folder (C) which is on another computer to the same onedrive folder (B). Is this somehow possible ?
is there a way to sync files on your desktop to an already existing folder in OneDrive without creating a subfolder inside the main folder. Eg: There is already a folder named "DemoOneDriveFolder" in OneDrive folder, and i want to sync contents of "D:\DemoDesktopFolder\" inside the "DemoOneDriveFolder" directly. I dont want to create another folder inside "DemoOneDriveFolder". Hope I made my doubt clear.
There is however it’s a bit involved. First either rename or move your local folder to another location. Then sync the folder in Onedrive. Finally move the contents of original local folder into this new synced folder.
@@PcsnNet I coulndt follow. Can you give an example like how i gave? Thanks
@@kaushikiyer9445 I need to do the same Thing. Have you found out how to do this?
@@ecogatg7431 No bro. Not yet.
@@PcsnNet Could you please help us on this?
When i want to sync with two pc's in same location. i just do the same thing on another pc?
Correct. Location doesn’t matter so whether it’s same place or you’re half way around the world the sync will still work.
Hi. Wat I want is not working. I want on another pc the files wil come in the exact location. Butt if I use mklink on another device. I get message that the folder already exist. Do you have a solution for me?
@@remko0469 you need to make sure the folder you are trying to link does not already exist. That message tells me a folder with same name already exists, remember Windows is not case sensitive.
It doesn't sync to the cloud.. it initially creates the folder with your file in the cloud, but if you add another file it will not sync to the cloud.. there will be 2 files on the PC folder but still only the 1 on Onedrive onlline. Can you overcome this?
It should sync all files. As long as the second file wasn’t locked. I know we have custom folders synced at several clients.
Is one drive client in system tray showing any errors?
No errors. I just followed the video again step by step and mine works exactly like yours. You made the symbolic link 'testing' in your OneDrive that contains the contents of c:\test1, which is one text file. 'testing' also shows up in your cloud OneDrive with the text file inside, shown in your browser. But you did not show any further replication. Add another file the the test1 directory on your c drive. It will show up in 'testing' also in OneDrive on your PC, but NOT in the 'testing' folder on your cloud OneDrive... won't replicate any more than the original contents of test1 folder. At least it absolutely will not on mine. Does it on yours?
Thank you!
@@x21xpress replicating on my side. Confirm permissions and ownership of the test file.
@@PcsnNet I'm the owner (in administrator group of local PC).. and I didn't see any permissions issues, the least permission had read & execute, but changed to everyone/full control and still no replication. Could it be because of the version? This is in Microsoft 365 apps for Enterprise. Very frustrating because this could be extremely useful. But if you have to keep everything you have in just a couple folders, it sort of defeats the purpose.
Thank you Great video and explanation... But I facing one problem when I a new file on my actual D drive it does not get created automatically on symlink folder any suggestion for that
Is D drive a local or network drive? Symlink can’t be right if the source ‘ target show different items as a symlink is just a pointer to the target. Run command dir /AL to make sure it really is a SYMLINK
@@PcsnNet its a local drive
@@MrOmairatiq Get a directory listing to make sure you have a symlink and not just a folder.
Thanks :)
too complicated