Filtering the Folder Compare View |
![]() ![]() ![]() |
There are three overall type of filters you can use to control a Folder Compare's scope: File Filters that include or exclude files based on their name or attributes, Display Filters that show or hide lines of the comparison based on comparison status, and Folder Display Filters that control when folders appear. For instance, you can set the display filter to View > Show Left Newer By default, commands that act on a selected folder's contents (such as Copy, Move, Delete, etc.) will respect the current filters. That is, if the selection includes a folder, the folder's filtered-out contents are skipped. To change this default behavior, pick Tools > Options Pick View > Suppress Filters File Filters You can specify the type of files you want to include in (or exclude from) the session. For instance, if you are comparing Delphi projects you could include file types such as *.pas, *.dfm, and *.dpr. Or, you could include all files except *.dcu and *.~* by excluding these file types. To specify a simple "include these types" filter, use the Filters toolbar edit. Enter the file types separated by semicolons, or use the dropdown list to select from presets. Include a minus sign (-) in front of files to be excluded. In addition to these simple wildcard filters, you can specify more complex filters that include or exclude files or folders by name. Pick Session > Session Settings Files can also be filtered based on their modified date, size, file attributes or text content. In the Session Settings dialog, switch to the Other Filters tab. (Folders are not directly filtered based on their attributes, but are affected by the filtering of their contents.) Display Filters Display filters limit the view to certain comparison results. The comparison results are determined by the session's comparison rules. For instance, you can pick View > Show Differences Folder Display Filters By default, folders only appear if at least one file they contain is visible. However, you can switch to one of the other folder display filters. View > Always Show Folders View > Compare Files and Folder Structure View > Only Compare Files View > Ignore Folder Structure See also |