How to use file and path filters
Posted: Sun May 16, 2004 2:07 pm
Version 3.2 allows to set up file and path filters to include/exclude files in directory comparison.
If you want to exclude a file (or a subdirectory in non-recursive comparison), and you know its exact name, you don't have to use wildcards. So if you want to exclude file "abc.txt", you can use this exact filter. You may, however, want to exclude something like "ab*.txt".
Now, you are in recursive comparison mode, and you know exactly the path you want to exclude, you should use that exact path (e.g. for file "c:\sub\xyz\abc.txt" the following filter should be used: ":c:\sub\xyz\abc.txt" -- note the ":" ). This, however, rarely happens: usually you'd want to exclude based on some part of the path, such as one the subdirectories. Hence, if you want to exclude all files that belong to "c:\sub\xyz" folder (assuming that you compared "c:\sub" folder with some other folder), that means that you want to exclude all files whose path contains "xyz", hence ":*xyz*" notation.
If you want to exclude a file (or a subdirectory in non-recursive comparison), and you know its exact name, you don't have to use wildcards. So if you want to exclude file "abc.txt", you can use this exact filter. You may, however, want to exclude something like "ab*.txt".
Now, you are in recursive comparison mode, and you know exactly the path you want to exclude, you should use that exact path (e.g. for file "c:\sub\xyz\abc.txt" the following filter should be used: ":c:\sub\xyz\abc.txt" -- note the ":" ). This, however, rarely happens: usually you'd want to exclude based on some part of the path, such as one the subdirectories. Hence, if you want to exclude all files that belong to "c:\sub\xyz" folder (assuming that you compared "c:\sub" folder with some other folder), that means that you want to exclude all files whose path contains "xyz", hence ":*xyz*" notation.