Posted the actual answer here instead of linking it. FileB.ext (symbolic link to C:\MainFolder\FileB.ext)Īnd that's it! The folders/files you symbolic linked will still be on your local machine, however it will not be stored/sync'd to your remote Google Drive. Click the Sync icon > Sync PC to Public Cloud to create a sync task. And complete the Google Drive information on CBackup. SubFolderB\ (symbolic link to C:\MainFolder\SubFolderB\) Click My Storage > Add Clouds, choose Google Drive and click Add, then follow the steps to grant CBackup to access your Google Drive files. Mklink "C:\Google Drive\MainFolder\FileB.ext" "C:\MainFolder\FileB.ext" For this example, you'd run the Command Prompt in Administrator mode and run the following commands: mklink /D "C:\Google Drive\MainFolder\SubFolderB" "C:\MainFolder\SubFolderB" After installation, both apps will create designated folders called. Next, we'll want to create the symbolic links. Download and install the Sync desktop app from this page and get the Google Drive app here. Your file structure should now look like. ![]() At My Computer tab, select Add folder in My Computer section to choose any folders outside the Google Drive folder to sync to Google Drive. Make a "MainFolder" somewhere outside of your Google Drive folder (eg: C:\MainFolder\), then move SubFolderB and FileB.ext to the newly created folder. Then click Google Drive icon in system tray, choose the Settings icon > Preferences. Now, let's say that you want MainFolder\SubFolderB\ and MainFolder\FileB.ext on your local machine, but not Google Drive. ![]() ![]() One way around this is to make symbolic links in the folder you want to sync and Google Drive will ignore them (tested on Windows 10 with the mklink command).įor example, let's say this is your file structure. Right now, Google Drive only does the opposite (it will allow you to keep a copy on Google Drive, but not on your local machine). It took me a while to figure out this solution so I could sync my projects without including dependencies or caches.Īs I understand it, the issue is that you want to sync a folder, however there are some sub folders or files within the folder you do not want to sync, but would like to keep on your local machine (not Google Drive). I know this is an old question and "Google Drive" is now "Backup and Sync from Google", however it still applies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |