This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Files/Compare by content: content plugin

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) Printable version
View previous topic :: View next topic  
Author Message
Evds
Junior Member
Junior Member


Joined: 10 Jun 2009
Posts: 64

PostPosted: Fri Jul 14, 2017 11:33 am    Post subject: Files/Compare by content: content plugin Reply with quote

In the "Files/Compare by content" function we have the ability to select
whether we want to compare two files in text format or in binary format.

It would be nice if we also had the ability to select a content plugin.
The selected content plugin would then return a string for each file and those
two returned strings would then be compared.

usage example:
We could write a content plug which returns all the metadata (exif/iptc/xmp) of a jpeg in one string.
We select two jpegs files, select "files/compare by content" and the plugin
we wrote and we have an overview of the difference in the metadata of those
two jpegs.
Back to top
View user's profile Send private message
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 9389
Location: Germany

PostPosted: Sat Jul 15, 2017 1:45 am    Post subject: Reply with quote

Already implemented
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Hacker
Moderator
Moderator


Joined: 06 Feb 2003
Posts: 10690
Location: Bratislava, Slovakia

PostPosted: Sat Jul 15, 2017 5:02 am    Post subject: Reply with quote

Lefteous,
Quote:
Already implemented

How?

Roman
_________________
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Back to top
View user's profile Send private message Send e-mail
HolgerK
Power Member
Power Member


Joined: 26 Jan 2006
Posts: 4683
Location: Europe, Aachen

PostPosted: Sun Jul 16, 2017 3:40 am    Post subject: Reply with quote

Quote:
How?

Synchronize Directories:
[x] By content [>>]
[x] Use plugin compare function

Okay, it's another place and the result is only a boolean expression, but somehow this function exists..

Regards
Holger
_________________
Make our planet great again
Back to top
View user's profile Send private message Send e-mail
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 9389
Location: Germany

PostPosted: Sun Jul 16, 2017 10:17 am    Post subject: Reply with quote

Quote:
he result is only a boolean expression

Quote:
The selected content plugin would then return a string for each file and those
two returned strings would then be compared.

What else could be the result of a comparison?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
HolgerK
Power Member
Power Member


Joined: 26 Jan 2006
Posts: 4683
Location: Europe, Aachen

PostPosted: Sun Jul 16, 2017 10:36 am    Post subject: Re: Files/Compare by content: content plugin Reply with quote

Evds wrote:
In the "Files/Compare by content" function we have the ability to select whether we want to compare two files in text format or in binary format.

+ (this was the suggestion) Compare of meta information in textual representation.

Regards
Holger
_________________
Make our planet great again
Back to top
View user's profile Send private message Send e-mail
Hacker
Moderator
Moderator


Joined: 06 Feb 2003
Posts: 10690
Location: Bratislava, Slovakia

PostPosted: Sun Jul 16, 2017 11:18 am    Post subject: Reply with quote

Lefteous,
Quote:
What else could be the result of a comparison?

A display of the difference.

Roman
_________________
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Back to top
View user's profile Send private message Send e-mail
HolgerK
Power Member
Power Member


Joined: 26 Jan 2006
Posts: 4683
Location: Europe, Aachen

PostPosted: Sun Jul 16, 2017 11:35 am    Post subject: Reply with quote

BTW: It could be easily be implemented by reusing the same mechanism already in use for user defined tool tips (Custom fields by file type).
This way all existing content plugins could be reused to create a summary of meta information which could be compared inside the Compare by Content dialog.

Regards
Holger
_________________
Make our planet great again
Back to top
View user's profile Send private message Send e-mail
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 9389
Location: Germany

PostPosted: Sun Jul 16, 2017 1:15 pm    Post subject: Reply with quote

Hacker wrote:
Lefteous,
Quote:
What else could be the result of a comparison?

A display of the difference.

Roman

Like a custom compare result icon?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Hacker
Moderator
Moderator


Joined: 06 Feb 2003
Posts: 10690
Location: Bratislava, Slovakia

PostPosted: Sun Jul 16, 2017 2:07 pm    Post subject: Reply with quote

Lefteous,
Quote:
Like a custom compare result icon?

No, like the actual difference in the text being compared.

Roman
_________________
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group