tag:blogger.com,1999:blog-7258322562721325894.post1802705197445586491..comments2023-08-17T13:27:47.119+03:00Comments on How To Code: Sync any folder to OneDrive without moving it to local OneDrive folderJussi Palohttp://www.blogger.com/profile/00392327346825133905noreply@blogger.comBlogger24125tag:blogger.com,1999:blog-7258322562721325894.post-11630793335153472022020-06-18T09:19:42.325+03:002020-06-18T09:19:42.325+03:00Apostrophes are not needed if the path doesn't...Apostrophes are not needed if the path doesn't contain spaces.Jussi Palohttps://www.blogger.com/profile/00392327346825133905noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-51268252928183606252020-06-18T05:15:10.778+03:002020-06-18T05:15:10.778+03:00Hello, you have bad syntax, both target and link s...Hello, you have bad syntax, both target and link should be in apostrophes.<br />Anonymoushttps://www.blogger.com/profile/08509589868915355175noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-7794183773866159522018-01-31T07:31:10.280+02:002018-01-31T07:31:10.280+02:00Junction point is NTFS feature and I'm not awa...Junction point is NTFS feature and I'm not aware of any workaround for FAT32. :(Jussi Palohttps://www.blogger.com/profile/00392327346825133905noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-29198722211397320762018-01-31T07:16:34.188+02:002018-01-31T07:16:34.188+02:00Hi,
instead of "work" was planning to u...Hi,<br /><br />instead of "work" was planning to use this idea to keep back-up of personal staff (located in FAT32 / SD-card),which I don\t want to be on C-drive.<br /><br />So on CMD made "mklink /j D:\Omat "C:\Users\xxxxxx\OneDrive - xxx\SD-card-Omat" "<br />This created error "Local NTFS volumes required to complete the operation".<br /><br />As would like to keep as FAT32 (to avoid complications when using in other PC), any workaround in mind?<br /><br />Thanks in advance<br /><br />EsaAnonymoushttps://www.blogger.com/profile/02255099060692645453noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-18167253891653964162018-01-28T22:37:28.027+02:002018-01-28T22:37:28.027+02:00I left it overnight and nothing...~80GBI left it overnight and nothing...~80GBnealedrozariohttps://www.blogger.com/profile/18024320663245088046noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-43332389580672656022018-01-28T22:26:34.701+02:002018-01-28T22:26:34.701+02:00If you just did it. Maybe wait a few minutes depen...If you just did it. Maybe wait a few minutes depending on how much file you have. If nothing happens after a while then maybe delete it and try the process again.Anonymoushttps://www.blogger.com/profile/00844229844388895379noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-67527516042205065622018-01-28T22:22:59.933+02:002018-01-28T22:22:59.933+02:00I tried the above, the link is created and I can s...I tried the above, the link is created and I can see a green check mark on each folder , yet the files are not synching with one drive any thoughts?nealedrozariohttps://www.blogger.com/profile/18024320663245088046noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-430773768632688982018-01-22T10:59:35.854+02:002018-01-22T10:59:35.854+02:00If you delete the ORIGINAL folder, i.e., "C:\...If you delete the ORIGINAL folder, i.e., "C:\Users\Jussi\OneDrive - Sulava Oy\Work" in my case, it will be deleted from OneDrive. If you delete the junction point, i.e., "c:\work", it will just delete the junction point and the actual folder will remain intact.Jussi Palohttps://www.blogger.com/profile/00392327346825133905noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-19480611658602929552018-01-13T20:43:51.353+02:002018-01-13T20:43:51.353+02:00I've just done this and it syncs perfectly. My...I've just done this and it syncs perfectly. My question is if the original folder gets deleted, does the folder in OneDrive with all it's content get deleted as well?Anonymoushttps://www.blogger.com/profile/00844229844388895379noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-26137953140938172582018-01-02T09:06:24.987+02:002018-01-02T09:06:24.987+02:00Thanks, apparently something has changed in more r...Thanks, apparently something has changed in more recent versions of Windows as you can now point it to an existing folder. Instructions updated.Jussi Palohttps://www.blogger.com/profile/00392327346825133905noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-85545547784038041682017-07-27T22:43:00.117+03:002017-07-27T22:43:00.117+03:00The initial MOVE and Rename is not of any value, y...The initial MOVE and Rename is not of any value, you can simply place a Junction (or sym Link) directly into the one drive folder to accomplish this.<br /><br />IE change this to one Step:<br /><br />1) Type in mklink /j "C:\Users\Jussi\OneDrive - Sulava Oy\Work" "c:\Work"Anonymoushttps://www.blogger.com/profile/16278650602943820703noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-83325808342377430332017-04-28T09:01:28.790+03:002017-04-28T09:01:28.790+03:00No, the syntax is mklink [[/d] | [/h] | [/j]] {Lin...No, the syntax is mklink [[/d] | [/h] | [/j]] {Link} {Target}, so first you need to define where you want the new folder to be (Link), and only after that where it is really pointing to (Target).Jussi Palohttps://www.blogger.com/profile/00392327346825133905noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-59514523267924100992017-04-19T17:41:16.365+03:002017-04-19T17:41:16.365+03:00Does the order matter? Would this have the same re...Does the order matter? Would this have the same result?<br /><br />>mklink /j "C:\Users\Jussi\OneDrive - Sulava Oy\Work" "c:\Work"<br /><br />ahttps://www.blogger.com/profile/00275883445056284657noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-86355082842212091162016-11-14T08:13:32.467+02:002016-11-14T08:13:32.467+02:00Hi, hard to say what could be causing it. By "...Hi, hard to say what could be causing it. By "link" do you mean the junction point? If by "link" you mean shortcut file link, then it might be that those are not supported, normal files work fine though. Jussi Palohttps://www.blogger.com/profile/00392327346825133905noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-43102502290394563362016-11-13T08:52:58.488+02:002016-11-13T08:52:58.488+02:00Thanks for your good command.
But when I create a ...Thanks for your good command.<br />But when I create a link, link is successfully created in cmd, but when I try to open shortcut file in local drive, it gives" access is denied, file name,directory or syntax is invalid".Talhahttps://www.blogger.com/profile/16676261990482422261noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-14130267939179825502016-10-25T07:55:35.745+03:002016-10-25T07:55:35.745+03:00Yes, two way sync works fine with this solution. Yes, two way sync works fine with this solution. Jussi Palohttps://www.blogger.com/profile/00392327346825133905noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-49521974888568792872016-10-24T23:46:29.949+03:002016-10-24T23:46:29.949+03:00Does this result in a true two way sync?Does this result in a true two way sync?Ken Moffathttps://www.blogger.com/profile/05868136357674655282noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-47370246964908620012016-04-05T09:44:04.150+03:002016-04-05T09:44:04.150+03:00In this case both should work as you're workin...In this case both should work as you're working winin your computer, difference between the two is more relevant if the junction/symlink target is file share on some other computer. Some deeper discussion on this can be found here: http://superuser.com/questions/343074/directory-junction-vs-directory-symbolic-linkJussi Palohttps://www.blogger.com/profile/00392327346825133905noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-24072702587171379062016-04-05T09:35:54.179+03:002016-04-05T09:35:54.179+03:00What is the difference or the better way: Using a ...What is the difference or the better way: Using a Junction (/J) or a Symbolic Link (/D)? I'm using Windows 10.RonnyChttps://www.blogger.com/profile/11970557526674747705noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-30163361155309782322016-01-13T02:55:55.287+02:002016-01-13T02:55:55.287+02:00Thank you!!!!!!!!!!!!!!!!!!!!!!!!! It worked very ...Thank you!!!!!!!!!!!!!!!!!!!!!!!!! It worked very fine in W10!!Anonymoushttps://www.blogger.com/profile/00299887915573921716noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-41407497468166883052015-08-05T10:54:54.266+03:002015-08-05T10:54:54.266+03:00Indeed, real folder is in Onedrive and c:) work is...Indeed, real folder is in Onedrive and c:) work is just pointing to that real Onedrive folder. Jussi Palohttps://www.blogger.com/profile/00392327346825133905noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-50888453117441687572015-08-05T09:23:19.928+03:002015-08-05T09:23:19.928+03:00Yes you reversed source with destination - practic...Yes you reversed source with destination - practically the real folder is in OneDrive and the link is on c:work ...... is this what you really wont ?!?!?Anonymoushttps://www.blogger.com/profile/11630046006026272198noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-18260468542116113482015-07-30T20:29:01.300+03:002015-07-30T20:29:01.300+03:00In your Work folder, confirm you see the change. T...In your Work folder, confirm you see the change. Then confirm you see the change in your local Onedrive folder. If not, the junction point was not setup correctly. If yes, theis Onedrive sync is not working. Jussi Palohttps://www.blogger.com/profile/00392327346825133905noreply@blogger.comtag:blogger.com,1999:blog-7258322562721325894.post-7236797839280615842015-07-30T20:24:50.365+03:002015-07-30T20:24:50.365+03:00I have changed the content of the files and it did...I have changed the content of the files and it did NOT update to OneDriveAnonymousnoreply@blogger.com