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
Please help me sync a file without extension
- Posts: 1
- Joined: 11 Jun 2021
- Posts: 2451
- Joined: 22 Aug 2012
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:
Your Include and Exclude Filters will not work, as you define an absolute path.
From the FFS Manual page on Filter settings:
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.Each list item must be a file or directory path relative to the selected base directories.
- Posts: 4055
- Joined: 11 Jun 2019
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"
- Posts: 2451
- Joined: 22 Aug 2012
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.
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.