Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2009
    Posts
    77

    Default Filter question: Show in Folder Compare only files with a certain pattern?

    Assume I compare in Folder Compare two (big) dir trees

    However only files which match the pattern *.pdf should be displayed.

    Now I enter ".pdf" (without quotes) into the filter entry field in Folder Compare, select "All" and hit RETURN.

    Then lots of folders were display which contain NO pdf files.
    Why?
    How do I suppress all those folder listing which conatin no *.pdf?

    Furthermore no *.pdf files (same or different) were shown. Why?

    Peter

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,612

    Default

    Hello,

    The filter syntax you need is "*.pdf" with no quotes. The filter supports DOS Masking syntax, so it can support both "literalfilename.pdf" or "*.pdf"

    If you navigate to the Folder Compare's Session menu -> Session Settings, Name Filters tab, this is where all filters are saved as part of the session (from the toolbar or from here, populate both fields). Click the '?' Help button next to the 'X' Close button of this dialog's tab, and this will take you to a context sensitive Help article with syntax examples for filtering. This includes limiting to specific folders (.\path\) or all subfolders (\.\...\)

    If you have any other questions, please let us know.
    Aaron P Scooter Software

  3. #3
    Join Date
    Mar 2009
    Posts
    77

    Default

    Hello Aaron,

    thank you for the filter. It works. However this is only a partial solution of my initial question.

    Currently (with *.pdf being set as file pattern) lots of folders are displayed in FolderCompare which do NOT contain a *.pdf file below it (=in the corresponding folder or a (sub)subfolder).

    So again in other words: How do I tell BC "Hey BC show only (matching) files in FolderCompare and the folders (all up to the rootnode/drive) in the directory hierarchy above.
    If a folder does not contain a matching file in its dir tree below then hide it in the FolderCompare view"

    Peter

  4. #4
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,612

    Default

    Hello,

    Ah, yes, use the toolbar Folder view dropdown (or View menu) -> Only Compare Files. This will remove all "empty" folders from view; folders that contain no files, or all files are excluded.
    Aaron P Scooter Software

  5. #5
    Join Date
    Mar 2009
    Posts
    77

    Default

    Thank you.It works

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •