
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. 2.5.1 Synchronise hidden files and folders 2.5.2 Propagate deletions 2.5.3 Do not synchronise subdirectories 2.5.4 Ignore blacklist 2.5.5 Do not backup. SubFolderB\ (symbolic link to C:\MainFolder\SubFolderB\) 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" Next, we'll want to create the symbolic links. Your file structure should now look like. I cannot see a way of creating a new folder that is excluded from Backup & Sync. I have tried several times to Exclude Folder but I get a message saying the folder is embedded in another folder that is already backed up.


Make a "MainFolder" somewhere outside of your Google Drive folder (eg: C:\MainFolder\), then move SubFolderB and FileB.ext to the newly created folder. I want to create a NEW temporary folder on my Windows PC that Backup & Sync will ignore, exclude from backing up. 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 think this is a comprehensive list of Google's file types (extracted from know this is an old question and "Google Drive" is now "Backup and Sync from Google", however it still applies. gsheet (these are the extensions that Google Backup and Sync creates to link to Google files on Drive, in the shape of JSON files) as if they're filtering their associated file type.Īnother alternative could be to actually create the aforementioned JSON files when syncing Google files, like Backup and Sync does, though I guess this would be a bit more work.īeing unable to exclude only files of these types (setting a minimum file size doesn't cut it, as that also excludes empty folders or files that I'd like to include) makes my file list quite a bit cluttered, so I'd love to get feedback on this request, or hear about any alternative methods of solving it! Or treat filters with file extensions like. I'd like to suggest either adding an option to exclude all Google files, When syncing with Google Drive, Google Docs files and similar are unable to be synced ( viewtopic.php?t=6027).
