eivorti.blogg.se

Sync folders in google drive
Sync folders in google drive





  1. #SYNC FOLDERS IN GOOGLE DRIVE WINDOWS 10#
  2. #SYNC FOLDERS IN GOOGLE DRIVE PC#

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. SubFolderB\ (symbolic link to C:\MainFolder\SubFolderB\)

sync folders in google drive

The file explorer will then close, returning you to the previous window.

#SYNC FOLDERS IN GOOGLE DRIVE PC#

If you unlink your account or delete the Backup and Sync app from Windows, all the files and folders that are already synced with your PC will stay perfectly intact. Once you’ve made a choice, click on Select Folder. If you no longer wish to keep the Google Drive folder in the File Explorer, right-click on the Google Drive folder and select ‘Unpin from Quick access’ from the list. A new window will open, allowing you to choose the place you wish for your OneDrive files to sync to your computer. Mklink "C:\Google Drive\MainFolder\FileB.ext" "C:\MainFolder\FileB.ext" Click on Change location if you want to change it. 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" Next, we'll want to create the symbolic links. Your file structure should now look like. Make a "MainFolder" somewhere outside of your Google Drive folder (eg: C:\MainFolder\), then move SubFolderB and FileB.ext to the newly created folder. Now, let's say that you want MainFolder\SubFolderB\ and MainFolder\FileB.ext on your local machine, but not Google Drive.

sync folders in google drive

#SYNC FOLDERS IN GOOGLE DRIVE WINDOWS 10#

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.

sync folders in google drive

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.







Sync folders in google drive