AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Onedrive sync folders outside3/18/2023 ![]() FYI, it requires VCRedist 2005 if memory serves, and does not include that dependency bundled. I think it does other things as well, but this is all I use it for. You can right click a folder to select it as the symlink source, then left click in the directory you want the symlink to be located. It integrates with Windows' Explorer shell and adds an item to the context menu. Full instructions are found at the link, but. ![]() There is also the application Link Shell Extension that I have found extremely useful. In the Sync your OneDrive files to this PC dialog box, uncheck any folders you don't want to sync to your computer and select OK. Select the Account tab, and select Choose folders. Mklink /d "C:\Whatever I want" "C:\Users\USERNAME\OneDrive\Whatever I want" Note: You might need to select the Show hidden icons arrow next to the notification area to see the OneDrive icon. Mklink /d "C:\Users\USERNAME\Desktop\Vacation Pics" "C:\Users\USERNAME\OneDrive\Vacation Pics" Mklink /d "C:\Users\USERNAME\Favorites" "C:\Users\USERNAME\OneDrive\Favorites" Mklink /d "C:\Users\USERNAME\Desktop" "C:\Users\USERNAME\OneDrive\Desktop" Example: mklink /d "C:\Users\USERNAME\Documents" "C:\Users\USERNAME\OneDrive\Documents" If you have existing folders that you want to sync, move them all to OneDrive and then symlink them to where they originally were located. Click Settings to add an account or manage other sync settings. Just remember, the source folder HAS to be in OneDrive. You can also click the OneDrive cloud icon in the Windows notification area to check status on your files. You can do this with as many folders as necessary. First, open the start menu, search for Command Prompt and click on the result to open the Command Prompt. To do that we need to use the Command Prompt. You can do this with as many folders as necessary. Steps to Sync Folder Outside OneDrive Without Moving or Copying As I said, we need to create a Symbolic Link. Mklink /d "C:\coding" "C:\Users\USERNAME\OneDrive\coding"Įlevated permissions are required to do this. So what I'll do is create a folder in OneDrive called coding then symlink it to the root of C: using cmd.exe mklink /d 'C:\Link\Location' 'C:\Users\USERNAME\OneDrive\Path\To\Source\Folder' mklink /d 'C:\coding' 'C:\Users\USERNAME\OneDrive\coding' Elevated permissions are required to do this. So what I'll do is create a folder in OneDrive called coding then symlink it to the root of C: using cmd.exe mklink /d "C:\Link\Location" "C:\Users\USERNAME\OneDrive\Path\To\Source\Folder" For example, when coding, I like to keep my source folders on the root of C:, so that I can easily access it from menus (C:\coding). What I have done in the past is use symlinks to sync everything to OneDrive, and maintain the folder structure I want.
0 Comments
Read More
Leave a Reply. |