Author |
Message |
Guest
|
Posted: Thu Oct 01, 2009 5:31 pm Post subject: Include file in an excluded folder or vice versa |
|
|
It seems that folder filters are applied after file filters, so that an include or exclude file filter will be superseded by an folder filter that does the opposite for the folder that the file is in. For example, I want to include only the file "bar.txt" in folder "foo". I add Include bar.txt as a file filter and Exclude foo as a folder filter. bar.txt doesn't get synced. How can I exclude a folder but include one or more specific files in that folder, or include a folder but exclude one or more specific files in that folder? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
|
Back to top |
|
|
Guest
|
Posted: Fri Oct 02, 2009 6:22 pm Post subject: |
|
|
If I understand your suggestion, I think it doesn't solve the problem.
Folder foo contains multiple files with various extensions and/or no extension. The folder is somewhere down in the hierarchy under the profile's source folder. For example, say the source folder is \\host\share\somefolder. I'm using "Backup" execution. Under the source folder, there's a folder \\host\share\somefolder\this\that\foo\. I want to include the single file \\host\share\somefolder\this\that\foo\bar.txt, but none of the other files or subfolders in foo. How do I exclude everything in foo except that one file? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
Posted: Sat Oct 03, 2009 8:00 am Post subject: |
|
|
Hello,
If you add a single include filter with
\\host\share\somefolder\this\that\foo\bar.txt
or
\this\that\foo\bar.txt
Only that file will be included and the rest excluded.
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
|