File comparsion tool


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users File comparsion tool
# 1  
Old 04-12-2016
RedHat File comparsion tool

Hi All, Please suggest some file comparison tool in Linux.
The tool have the provision for command line option for file comparison and the output will be stored in to html file. Thanks in advance
# 2  
Old 04-12-2016
Hi.

Some possibilities:
Code:
Difference, similarity, compare

        1) diff, standard

        2) cmp, standard

        3) dwdiff, cdif (local), word differences

        4) cmptree (local), dirdiff (GUI), compare directory trees

        5) docdiff, compare by character, word, line, numerous output formats

        6) meld (GUI), diff and merge files

        7) numdiff, my-ndiff (local), snd (local), compare numerically

        8) comm, standard, compare 2 sorted files, 3 column output

        9) multi-comm (local), compare n files, need not be sorted

        10) contrast (local), like comm, needs no sort, symmetric and
        simple differences, intersection, union

        11) diff.pl, perl work-alike for diff, https://metacpan.org/pod/distribution/PerlPowerTools/bin/diff

        12) multi-diff (local), common lines, multiple files, re-write omitting common lines

        13) psame (local), find similarity between 2 text files

        14) fdupes, rdfind, duff, find duplicate files

I would consider the comparison and report generation in HTML to be separate steps.

Check your repository first, Google second if something looks interesting.

Best wishes ... cheers, drl
This User Gave Thanks to drl For This Post:
# 3  
Old 04-12-2016
Also there is "diff -b" if you don't care about tabs, spaces, or trailing spaces not being the same in both files.
For the 2nd part you can create a file with the HEAD thru BODY start and another file to stop body and stop html. With a cat command you can put your generated file between those two and create an instant webpage. You will still need to ftp it to your website.
HTH
This User Gave Thanks to wbport For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

UNIX tool on MacOS that can increase resolution of a file

hi, I am searching for a native tool on MacOS that can increase the resolution of a group of image files whose aspect ratios (file width versus height) vary widely. There are numerous files so I don't wish to do this manually. Someone suggested the sips command with the resampling option but... (5 Replies)
Discussion started by: Godtookapicture
5 Replies

2. UNIX for Dummies Questions & Answers

Help me in the Execution of Date comparsion

Hi , Please look into the query 1)Date format: mm/dd/yyyy  example (10/22/2013) 2) compare this date  with the System date  3) if the difference of dates less than 30 days. Then return true otherwise false. 4)commands date-d is not there in my unix version. 5)present version 6 6)using... (7 Replies)
Discussion started by: RaghavendraT
7 Replies

3. Shell Programming and Scripting

String comparsion compare *

Dear all Would anyone tell me how to prevent user from input non asterisk(i.e. *) character via keyboard? #!/bin/ksh targetHour=-1 while ] do echo "Please input target hour": read targetHour done When I execute the above coding, and then input a "j", it return the following... (3 Replies)
Discussion started by: cstsang
3 Replies

4. Shell Programming and Scripting

File Timestamp and date comparsion

Hi, I have many files in the source directory but I need to process with the latest timestamp file. I am using linux operating system. i want extract the file created timestamp( Ext_File_create_date=) With this format YYYYMMDD- i have searched the relevent command in the unix forms but did... (5 Replies)
Discussion started by: onesuri
5 Replies

5. AIX

which windows tool can burn iso file?

which windows tool can burn iso file? The iso file is download from IBM web site for HMC upgrade. How to burn this iso file to cd or dvd? (1 Reply)
Discussion started by: rainbow_bean
1 Replies

6. OS X (Apple)

Looking for a command line tool that converts a .wmv file into .mpg

I need a simple command line executable that allows me to convert a wmv file into an mpg file like this: wmv2mpg inputfile.mwv > outputfile.mpg I cannot find it on internet. I tried installing mencoder but I cannot get it to work. Thanks. (4 Replies)
Discussion started by: karman
4 Replies

7. UNIX for Advanced & Expert Users

map comparsion

Hi all I have to compare maps/files on two seperate boxes and the output must be as following: 1)list the maps/file on box1 2)list the maps/file on box2 3)List maps in both the environments a) which are same b)which are different pls any ideas are appreciated thnks (2 Replies)
Discussion started by: bkan77
2 Replies

8. UNIX for Dummies Questions & Answers

how to open a text file using some tool such as gedit under gtk

how to open a text file using some tool such as gedit under gtk I list some text file names in a GtkCList . I want to open the file on when users click on the row. How to implement this ? Thanks (0 Replies)
Discussion started by: cy163
0 Replies

9. Programming

Tool for make file

Hi, so far i am writting make file explicitly, is there is any tool is there to write make file automatically....if so please tell me about that... Thanks in advance Sarwan (4 Replies)
Discussion started by: sarwan
4 Replies
Login or Register to Ask a Question