Exclude subfolder from bidirectional file sync

For user who dont speak german please use this part of my forum
Pogle
Beiträge: 18
Registriert: Mo 21. Mär 2011, 17:09

Exclude subfolder from bidirectional file sync

Beitrag von Pogle »

Hi
I'm reflecting a folder and its subfolders between PC and Android tablet. It allows offline/local sync of an Obsidian vault (and shared logseq compatible data) and works very well, thanks.
But I'd like to exclude the backup folder /bak that logseq automatically creates. No matter how I phrase the exclusion it seems to process that folder regardless.

Code: Alles auswählen

//root//logseq/bak/*.*;
//root//logseq/bak/*.*
//root//logseq/bak/*
//root//logseq/bak/
I'm putting the full path in for //root// and can see these folders in the status bar as they are scanned.
Is there a right way to do this or does exclude only work on individual files?
Thanks for any help.

This has been asked beforewith no reply.
icke1954
Moderator
Beiträge: 18158
Registriert: Sa 19. Apr 2014, 10:35

Beitrag von icke1954 »

Try it out

Code: Alles auswählen

\bak\*
Pogle
Beiträge: 18
Registriert: Mo 21. Mär 2011, 17:09

Beitrag von Pogle »

Ah! That seems to have done it. Using the path relative to the folder being synced.

In this case actually

Code: Alles auswählen

\logseq\bak\*
But those folders are no longer being scanned.
Many thanks for your help. :D
icke1954
Moderator
Beiträge: 18158
Registriert: Sa 19. Apr 2014, 10:35

Beitrag von icke1954 »

Thanks for your feedback!
Best regards icke
Antworten