Synchronize directories by content

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
hostware
Junior Member
Junior Member
Posts: 2
Joined: 2012-07-13, 10:16 UTC

Synchronize directories by content

Post by *hostware »

Filter by defined in User-defined compare functions by file type dialog is not working.


check by content checkbox, and click "User-defined compare functions.." button.
Check Use plugin compare functions checkbox, click Add button, selecting predefined selection type name of "c# source". Click ok. In the Custom fields by file type dialog i selectig tc.Compare as text custom field. Click ok, ok.
Click Compare. And in searchwindow shown all file from directories without filter.



Created search rule (filter) : name is "c# source"

In general tab
Search for *.cs

In advanced tab
Not older than 1 weeks,

In plugins tab
Search in plusing checked, Combine with AND

plugin property OP: Value
tc fullname !contains .g
tc fullname !contains .gen
tc fullname !contains .AssemblyInfo

in Load/Save tab click on save button name of search c# source.
Exit from dialog

ths
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50930
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

What are you trying to find and what to exclude? Please give me some sample names.
Author of Total Commander
https://www.ghisler.com
hostware
Junior Member
Junior Member
Posts: 2
Joined: 2012-07-13, 10:16 UTC

Synchronize directories by content

Post by *hostware »

q:\v35\712\HW\HW.Common\AssemblyInfo.cs 12-01-24 tc fullname contains .AssemblyInfo

q:\v35\712\HW\HW.Common\SqlTraceLog.cs 12-01-24
q:\v35\712\HW\HW.Common\StringList.cs 12-01-24
q:\v35\712\HW\HW.Common\Suppressor.cs 12-01-24
q:\v35\712\HW\HW.Common\XmlMerge.cs 12-01-24
q:\v35\712\HW\HW.Common\TRKItemControl.cs 12-01-31

q:\v35\712\HW\HW.Communication.Seawing\obj\Debug\GeneratedInternalTypeHelper.g.cs 12-07-13
q:\v35\712\HW\HW.Communication.Seawing\obj\Debug\GeneratedInternalTypeHelper.g.i.cs 12-07-13
q:\v35\712\HW\HW.Communication\obj\Debug\GeneratedInternalTypeHelper.g.cs 12-07-13
q:\v35\712\HW\HW.Form\obj\Debug\SelectFileDialog.g.cs 12-07-13 Fullname contains .g
q:\v35\712\HW\HW.Form\obj\Debug\SelectFileDialog.gen.cs 12-07-13 Fullname contains .gen


Extension only .cs not .gen.cs, .g.i.cs, .i.g.cs and name not equal AssemblyInfo.cs

tc fullname !contains .g
tc fullname !contains .gen
tc fullname !contains AssemblyInfo

and i like to add filter file date
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50930
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, I will check that, but it may take a while.
Author of Total Commander
https://www.ghisler.com
Post Reply