find md5sum for all the files, and whose md5sum are same, the contents could also be the same.
Or try this tool in sourceforge, finddup, finddup | Get finddup at SourceForge.net
This might have some bugs, but anyway this could find out and tell you the duplications...
Hi
I have a requirement to process number of files matching a criteria. The resulted file would be processed indivdually looking for a particular string until another one found lines afterwards. Then look for the occurrence of another string in the result count and display/return the result. ... (13 Replies)
Hi friends,
I have multiple files. For now, let's say I have two of the following style
cat 1.txt
cat 2.txt
output.txt
Please note that my files are not sorted and in the output file I need another extra column that says the file from which it is coming. I have more than 100... (19 Replies)
Hi all,
i have 50 files .data should be same in these 50 files , so my task is to find the difference. i need a logic , which finds difference between all files and print in output file with file name where it found that difference .
i tried below logic , but its not giving me what i want.
let... (2 Replies)
Hi,
I need to compare multiple columns from 2 files.
I can, for example, have these 2 files:
file1:
col1, col2, col3,col4
a,1,4,7
b,2,5,8
c,3,6,9file2:
col1, col2, col3,col4
a,2,3,2
b,5,7,5
c,1,9,8As a result, I need for example the difference between the columns 2 and 4:
col2,... (3 Replies)
I have this code
awk 'NR==FNR{a=$1;next} a' file1 file2
which does what I need it to do, but for only two files. I want to make it so that I can have multiple files (for example 30) and the code will return only the items that are in every single one of those files and ignore the ones... (7 Replies)
Good morning all,
I have a problem that is one step beyond a standard awk compare.
I would like to compare three files which have several thousand records against a fourth file. All of them have a value in each row that is identical, and one value in each of those rows which may be duplicated... (1 Reply)
Im using code below comparing and getting the diff of two files.
But what about multiple files? can you help me guys
diff -u file1 file2|sed -n '/^---/!{/^-/s/-//p}'
diff -ui file1 file2| sed -n '/^++/!{/^+/s/+//p}'
Example
File1:
aaa
bbb
ccc
ddd
File2:
bbb
eee (5 Replies)
Hi,
I have below query related to multiple file comparing
I have four files i want to compare it and contents of one file will not be presence in 3other files and if any content found then it will print the execution.
Can you please help me how to achieve it. (2 Replies)
Discussion started by: soumyamihp
2 Replies
LEARN ABOUT DEBIAN
genhash
genhash(1) General Commands Manual genhash(1)NAME
genhash - md5 hash generation tool for remote web pages
SYNOPSIS
genhash [options] [-s server-address] [-p port] [-u url]
DESCRIPTION
genhash is a tool used for generating md5sum hashes of remote web pages. genhash can use HTTP or HTTPS to connect to the web page. The
output by this utility includes the HTTP header, page data, and the md5sum of the data. This md5sum can then be used within the
keepalived(8) program, for monitoring HTTP and HTTPS services.
OPTIONS --use-ssl, -S
Use SSL to connect to the server.
--server <host>, -s
Specify the ip address to connect to.
--port <port>, -p
Specify the port to connect to.
--url <url>, -u
Specify the path to the file you want to generate the hash of.
--use-virtualhost <host>, -u
Specify the virtual host to send along with the HTTP headers.
--verbose, -v
Be verbose with the output.
--help, -h
Display the program help screen and exit.
--release, -r
Display the release number (version) and exit.
SEE ALSO keepalived(8), keepalived.conf(5)AUTHOR
genhash was written by Alexandre Cassen <acassen@linux-vs.org>.
This man page was contributed by Andres Salomon <dilinger@voxel.net> for the Debian GNU/Linux system (but may be used by others).
Feb 2004 genhash(1)