Sponsored Content
Full Discussion: File Comparison utility
Top Forums UNIX for Advanced & Expert Users File Comparison utility Post 302580636 by methyl on Friday 9th of December 2011 06:08:43 AM
Old 12-09-2011
The choice of compare utility or compare program will depend on many factors:

1) Whether these are unix format ascii text files?
2) Whether both files are already in sorted order?
3) Whether you just want to know whether they are different?
4) Whether one file is considered to be the "master" and you want to know the differences relative to the "master" file?
5) Whether there is always a file of the same name (but in a different directory) to compare with?
6) In summary, what's your input and output requirement?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Veritas File Manager or any File Managing Utility???

Does anyone have any knowledge of veritas file manager and if you do, would you advise me to purchase it?? and basically, what are its most important useful features, meaning, what can it be used for the best (1 Reply)
Discussion started by: TRUEST
1 Replies

2. Solaris

COnversion utility xhtml file to Postscript file

Hi, Can any suggest me some utility to convert xhtml file to postscript file format? Also tell me from where to down load such utility.. With Regards, Dattatray (0 Replies)
Discussion started by: dattatray.b
0 Replies

3. Shell Programming and Scripting

file comparison

hi I have 2 files to comapre ,in file a sible column it is numbers,in file b2 numbers and other values with coma separated. i want compare numbers in file a with file b,and the out put put should be in C with numbers in both file a and b along with other columns of file b. i used folowing... (7 Replies)
Discussion started by: satish.res
7 Replies

4. Shell Programming and Scripting

File Comparison

Hi i have 2 csv files a.csv and b.csv with the same number of columns and a list of values in both of it. Each and every individual value in both the files need to compared and if it matches then print correct in a new csv file otherwise print Incorrect eg a.csv 1,12/27/2007,Reward,$10.00... (5 Replies)
Discussion started by: naveenn08
5 Replies

5. Shell Programming and Scripting

How to Unzip a file using unzip utility for files zipped without zip utility ?

Hi, I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server. How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies

6. UNIX for Dummies Questions & Answers

file hashing utility in unix

I am looking for a utility that does file hashing in unix. ...Please let me know of any good easy to use utility (3 Replies)
Discussion started by: jbjoat
3 Replies

7. UNIX for Advanced & Expert Users

[HELP!] File transfer utility

May I ask for a top 3 paid file transfer UNIX utilities to improve : automation, ease of use, and improve speed compared to BBFTP? BBFTP is an inconsistent, unsupported, high maintenance file transfer tool. At best, BBFTP has proven to transfer an average rate of 20GB/Hour Total (with 4... (3 Replies)
Discussion started by: annaia
3 Replies

8. Shell Programming and Scripting

File Comparison: Print Lines not present in another file

Hi, I have fileA.txt like this. B01B02 D0011718 B01B03 D0012540 B01B04 D0006145 B01B05 D0004815 B01B06 D0012069 B01B07 D0004064 B01B08 D0011988 B01B09 D0012071 B01B10 D0005596 B01B11 D0011351 B01B12 D0004814 B01C01 D0011804 I want to compare this against another file (fileB.txt)... (3 Replies)
Discussion started by: genehunter
3 Replies

9. Shell Programming and Scripting

File Comparison

HI, I have two files and contains many Fields with | (pipe) delimitor, wanted to compare both the files and get only unmatched perticular fields. this i wanted to use in shell scriting. ex: first.txt 111 |abc| 230| hbc231 |bbb |210 |bbd405 |ghc |555 |cgv second.txt 111 |abc |230 |hbc231... (1 Reply)
Discussion started by: prawinmca
1 Replies

10. UNIX for Beginners Questions & Answers

UNIX utility to find difference in folder, file and contents of file against a base version

Hi, I am trying to find out whether there are any Unix utilities that compares folders, files and contents within the file and provides a comprehensive report. The comparison can be against base version of a folder and file with content. Can you please let me know of such a utility? Thanks,... (6 Replies)
Discussion started by: Sripathi_ks
6 Replies
rsnapshot-diff(1)														 rsnapshot-diff(1)

NAME
rsnapshot-diff - a utility for comparing the disk usage of two snapshots taken by rsnapshot SYNOPSIS
rsnapshot-diff [-h|vVi] dir1 dir2 DESCRIPTION
rsnapshot-diff is a companion utility for rsnapshot, which traverses two parallel directory structures and calculates the difference between them. By default it is silent apart from displaying summary information at the end, but it can be made more verbose. In the summary, "added" files may very well include files which at first glance also appear at the same place in the older directory structure. However, because the files differ in some respect, they are different files. They have a different inode number. Consequently if you use -v most of its output may appear to be pairs of files with the same name being removed and added. OPTIONS
-h (help) Displays help information -v (verbose) Be verbose. This will spit out a list of all changes as they are encountered, as well as the summary at the end. -V (more verbose) Be more verbose - as well as listed changes, unchanged files will be listed too. -i (ignore) If verbosity is turned on, -i suppresses information about symlinks, directories, and special files. dir1 and dir2 These are the only compulsory parameters, and should be the names of two directories to compare. Their order doesn't matter, rsnapshot-diff will always compare the younger to the older, so files that appear only in the older will be reported as having been removed, and files that appear only in the younger will be reported as having been added. SEE ALSO
rsnapshot BUGS
Please report bugs (and other comments) to the rsnapshot-discuss mailing list: http://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss <http://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss> AUTHOR
David Cantrell <david@cantrell.org.uk> COPYRIGHT
Copyright 2005 David Cantrell LICENCE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 2011-07-09 rsnapshot-diff(1)
All times are GMT -4. The time now is 08:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy