Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Ben J.

macrumors 65816
Original poster
Aug 29, 2019
1,066
624
Oslo
I've struggled with this on and off for years but never found a good solution.

I want to have two folders synced; one on the mac and one on Google Drive.

I have tried iCloud and Google Drive to achieve this but both work by keeping a copy of the folder and its content in ~/library/CloudStorage/Google_Drive/ - and I don't want that. I've also tried CCC, my main backup app, to sync to the google drive folder as a network storage, while running google drive desktop app, but I get only errors. Most reports online also say CCC is not good for this.

I don't mind doing it manually on google in a browser, but I would like to have the automation to have the two folders mirror eachother, keep the most recent version of files etc. Any ideas much welcome.
 
Last edited:

Ben J.

macrumors 65816
Original poster
Aug 29, 2019
1,066
624
Oslo
Nevermind. I figured it out.
I must have overcomplicated or something, but now I have a task in CCC that clones a local folder to a folder on my google drive.
Sweet.
 

Ben J.

macrumors 65816
Original poster
Aug 29, 2019
1,066
624
Oslo
Oh no. The files are still duplicated to ~/library/CloudStorage/Google_Drive/
I spoke too soon.
 
Last edited:

MacCheetah3

macrumors 68020
Nov 14, 2003
2,285
1,223
Central MN

Ben J.

macrumors 65816
Original poster
Aug 29, 2019
1,066
624
Oslo
I think I have it under control.
In short:
I have a folder that I want to share on google drive, and add/remove things, and have it updated. I have CCC cloning the local folder to the google drive folder. I have google drive desktop app running so CCC works fine for that. CCC sees the cloud folder as any folder.

But Google desktop is duplicating anything new to the ~/library/CloudStorage/Google_Drive/ folder when CCC makes changes. I've excluded this "cache" folder from my backups, and I'm sure that I can delete its content whenever I want.

Have a good day.
 
Last edited:

Ben J.

macrumors 65816
Original poster
Aug 29, 2019
1,066
624
Oslo
As a final point:
I can now, with Google Drive desktop running in the background, copy files to my Google Drive by using the Finder, using the Google web site, or running a CCC task to clone a local folder to a google drive folder. Only the google web site method does NOT create duplicate files in ~/library/CloudStorage/Google_Drive/.
Anyway, I'm happy with this functionality, now. I can easily manage the content of my Google Drive, and most easily with a simple click on the 'run CCC task' to update a specific folder.

I've excluded ~/library/CloudStorage/ from my backup tasks (to not have backups of already unwanted duplicates), and I can whenever I want right-click on any folder on Google Drive in a finder window, and select "Remove download" (or whatever it's called in english) and the cloud-arrow sign comes back, indicating that the file or folder exists only in the cloud, and doesn't take up space on my mac.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.