Replies: 8 comments 4 replies
-
Unfortunately, WinMerge does not have the ability to ignore hidden files or folders. If the hidden files or folders have a specific name that distinguishes them from other regular files or folders, such as .git, then defining that name in the File filters will cause the files or folders with that name to be ignored. There are already installed file filters that ignore folders for version control software such as git, so see if you can use it. For more information about file filters, please refer to the following |
Beta Was this translation helpful? Give feedback.
-
Thanks for the feedback, what I would like to filter is:
"desktop.ini" file
"ZbThumbnail.info" file
"System Volume Information" folder
As they are usually different, I see an unequal comparison of drives or folders forcing me to manually verify the reason.
How can I prevent this from happening?
Thanks.
----- Original Message -----
From: Takashi Sawanaka
To: WinMerge/winmerge
Cc: gimame ; Author
Sent: Wednesday, October 20, 2021 4:31 PM
Subject: Re: [WinMerge/winmerge] filters management (Discussion #1015)
Unfortunately, WinMerge does not have the ability to ignore hidden files or folders.
If the hidden files or folders have a specific name that distinguishes them from other regular files or folders, such as .git, then defining that name in the File filters will cause the files or folders with that name to be ignored.
There are already installed file filters that ignore folders for version control software such as git, so see if you can use it.
For more information about file filters, please refer to the following
https://manual.winmerge.org/en/Filters.html
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
An example of file filters is attached. Extract the attached file #1015.zip, install the file #1015.flt inside as follows, and compare the folders. |
Beta Was this translation helpful? Give feedback.
-
Good help, thanks.
And I apologize for the late reply due to other commitments.
Starting from your model, I have created my own filter (see attachment) which seems to work.
Now, however, this problem arises:
I can no longer see all the comparisons even if they are identical, the options in the Message box are reset (see attachment) and in Options-Comparison mode I have selected Full contents.
What is the possible cause?
----- Original Message -----
From: Takashi Sawanaka
To: WinMerge/winmerge
Cc: gimame ; Author
Sent: Thursday, October 21, 2021 1:09 AM
Subject: Re: [WinMerge/winmerge] filters management (Discussion #1015)
An example of file filters is attached.
Extract the attached file #1015.zip, install the file #1015.flt inside as follows, and compare the folders.
#1015.zip
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
## This is a directory/file filter template for WinMerge
name: #miofiltro
desc: files: "desktop.ini"-"ZbThumbnail.info"-"$RECYCLE.BIN"- folders: "System Volume Information"
## Select if filter is inclusive or exclusive
## Inclusive (loose) filter lets through all items not matching rules
## Exclusive filter lets through only items that match to rule
## include or exclude
def: include
## Filters for filenames begin with f:
## Filters for directories begin with d:
## (Inline comments begin with " ##" and extend to the end of the line)
f: desktop\.ini$ ## Filter for filename
f: ZbThumbnail\.info$ ## Filter for filename
f: $RECYCLE\.BIN$ ## Filter for filename
d: \\System Volume Information$ ## Filter for directory
|
Beta Was this translation helpful? Give feedback.
-
I tried using the attached file filter, but could not reproduce the problem. If you do not see the identical files in folder compare window, try looking at the check status of each menu item in the View menu. |
Beta Was this translation helpful? Give feedback.
-
Hi, I have the same problem even disabling the filter.
But which version do you use?
I tried uninstalling and reinstalling the downloadable version and the View menu is different (see attachments).
Thank you.
----- Original Message -----
From: Takashi Sawanaka
To: WinMerge/winmerge
Cc: gimame ; Author
Sent: Saturday, October 23, 2021 3:26 PM
Subject: Re: [WinMerge/winmerge] filters management (Discussion #1015)
I tried using the attached file filter, but could not reproduce the problem.
If you do not see the identical files in folder compare window, try looking at the check status of each menu item in the View menu.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
OK the attachments are on the discussion 1015.
----- Original Message -----
From: Takashi Sawanaka
To: WinMerge/winmerge
Cc: gimame ; Author
Sent: Sunday, October 24, 2021 12:21 PM
Subject: Re: [WinMerge/winmerge] filters management (Discussion #1015)
That screenshot is from WinMerge version 2.16.14 on Windows 11.
Unfortunately I am not able to see the attachment you have attached.
Please have a look at the following URL
#1015
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
Dear Takashi Sawanaka, thank you very much, now everything is clear and working.
Thank you for the patience of a diligent and prompt assistance, I solved my (perhaps stupid) poor problems.
----- Original Message -----
From: Takashi Sawanaka
To: WinMerge/winmerge
Cc: gimame ; Author
Sent: Sunday, October 24, 2021 4:28 PM
Subject: Re: [WinMerge/winmerge] filters management (Discussion #1015)
Try displaying the View menu when the folder comparison window is displayed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
Hi, I am starting to use this excellent program (in WIN10) and I would like to filter hidden system files so that the difference is not highlighted by comparing folders.
I don't understand how to do it, can some expert help me by indicating the steps to take?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions