I am trying to exclude some folders from synchronization (Ubuntu Linux 22.04) with a Google Drive Account. This works, if I am using just simple folder names like:
Seelsorge
Schule
Liturgie
But I would like to have my ignore rules more specific, so I tried rules with path names or full paths:
Could you please let me know what your full base folder path is? If you prefer to discuss this privately (since we are mentioning certain files/folders on your machine), please email me at support@insynchq.com and include a link to this post.
However, I would like to sync some files outside the base folder, in order to combine files and folders from different sources. So the paths, where I want to sync outside on my local drive are
/home/hermannjosef/Bilder
/home/hermannjosef/Dokumente etc.
Meanwhile, let me please explain, what I want to achieve with my synchronization settings:
I have a primary Google Drive account, which I would like to sync in my local directory structure as I have it already described:
Images
— Images sub-folder (1) from primary Google Drive
— Images sub-folder (2) from primary Google Drive etc.
Documents
— Documents sub-folder (1) from primary Google Drive
— Documents sub-folder (2) from primary Google Drive etc.
Into this structure I want to sync sub-folder from a secondary Google Drive account this way:
- Images
--- Images sub-folder (1) from primary Google Drive
--- Images sub-folder (2) from **secondary** Google Drive
--- Images sub-folder (3) from primary Google Drive etc.
- Documents
--- Documents sub-folder (1) from primary Google Drive
--- Documents sub-folder (2) from **secondary** Google Drive
--- Documents sub-folder (3) from primary Google Drive etc.
In order to avoid, that the sub-folders from the secondary Drive account get synchronized into the primary Drive account, I have to set exclude / ignore rules:
[exclude] Images sub-folder from **secondary** Google Drive
[exclude] Documents sub-folder from **secondary** Google Drive etc.
Hello @charadrius! Following up on the ignore rules with our engineer. Apologies for the delays as they have been attending to other matters in their timeline.
The rules contain the path “/Bilder/Seelsorge” as specified by your engineer.
When I now add the local folder “Bilder/Seelsorge” on my device, this folder should not be synced - at least if I have understood the ignore rules correctly.
Unfortunately this folder gets synced nevertheless:
The relative path is Seelsorge, so you should enter Seelsorge and not /Bilder/Seelsorge. As explained in our Ignore Rules doc, a “relative path” means the part AFTER the Base Folder path. So in this case, your base folder (sync location) is /home/hermannjosef/Bilder.
Thank you very much, @mia. I’m beginning to understand, how the ignore rules work
Yes, I have other subfolders named Seelsorge in other main folders and I would like these other folders to be synced. That’s exactly my problem.
But these other folders are not top-level folders directly after the base folder. So, if the ignore rules would exclude only the first Seelsorge-folder and not sub-folders like Something/Seelsorge everything would be fine…
Gotcha! I’ll check in with our engineers to see if there’s a way around your situation because entering Seelsorge as the ignore rule will, in fact, ignore all folders named as such
Hello @charadrius! As per our engineer, ignoring Seelsorge from Bilder/ but not from other locations like /home/hermannjosef/Dokumente/Seelsorge and /home/hermannjosef/Notizen/Seelsorge is not possible at the moment if they are all being synced from outside of your base folder. If they are being synced in the same tree, then it is possible.
By any chance, would renaming the to-be-ignored folder be possible so that you could specify that folder name on the ignore rules?
Please excuse me, @Mia, that I didn’t reply to your answer. I have found another solution to handle my multiple Insync-Accounts, which makes it no longer necessary to mix the directories of different accounts. So I am very happy now