Please help me sync a file without extension

Discuss new features and functions
Posts: 1
Joined: 11 Jun 2021

quantissimo

Hi

I'd like to sync a single file following these instructions:

Example: Exclude a sub folder except for certain files
Set up two folder pairs with the same source and target paths but with distinct local filters:
Folder pair 1: local exclude filter \SubFolder\
Folder pair 2: local include filter \SubFolder\*.txt

The thing is that the file has no file extension. This is the Bookmarks file for Edge browser

My filter patterns are:

exclude: C:\Users\abc\AppData\Local\Microsoft\Edge\User Data\Default
include: C:\Users\abc\AppData\Local\Microsoft\Edge\User Data\Default\Bookmarks

but I think "Bookmark" is interpreted as a folder, not a file without extension
User avatar
Posts: 2451
Joined: 22 Aug 2012

Plerry

To start with:
Your Include and Exclude Filters will not work, as you define an absolute path.
From the FFS Manual page on Filter settings:
Each list item must be a file or directory path relative to the selected base directories.
For the local Include Filter of the 2nd pair, simply include the full relative path of the bookmarks file, not using any wildcards or file extensions.
User avatar
Posts: 4055
Joined: 11 Jun 2019

xCSxXenon

Just have a single sync pair and only include that file. You may need quotes around the path to include spaces. You will remove "*" from the include and then you will type "C:\Users\abc\AppData\Local\Microsoft\Edge\User Data\Default\Bookmarks"
User avatar
Posts: 2451
Joined: 22 Aug 2012

Plerry

Correction to xCSxXenon's reply:
As stated in my earlier reply, the Include (and Exclude) Filter definitions are relative to the left and right base locations.
So if your left (or right) base location would be
• "C:\Users\abc\AppData\Local\Microsoft\Edge\User Data\Default" you would need to Include \Bookmarks
• "C:\Users\abc\AppData\Local\Microsoft\Edge\User Data" you would need to Include \Default\Bookmarks
• C:\Users\abc\AppData\Local\Microsoft\Edge you would need to Include "\User Data\Default\Bookmarks"
• etc.