define compare. How similar are we talking here? Exactly the same means they are similar? If so use checksums.
matching files will all have the same checksum. AIX cksum example output:
where 3995432187 is the checksum, 1390 is the file size in bytes, file1.pdf is the filename. This is why sorting by checksum finds multiple duplicates.
I got many pair files, which only have small difference, such as more space, or more empty line, and some unreadable characters.
If list by commend "diff", I can see many many difference.
So I'd like to write a script to compare the pair files, if 95% contents are same, I will think they are... (2 Replies)
May i know how do i go along finding similar entry in a .txt file, which is used a as a "database" and post and error saying the entry existed when we key in the entry.
---------- Post updated at 05:18 PM ---------- Previous update was at 05:16 PM ----------
i mean post an error saying the... (5 Replies)
I have a file that has the words I want to find in other files (but lets say I just want to find my words in a single file). Those words are IDs, so if my word is ZZZ4, outputs like aaZZZ4, ZZZ4bb, aaZZZ4bb, ZZ4, ZZZ, ZyZ4, ZZZ4.8 (or anything like that) WON'T BE USEFUL.
I need the whole word... (6 Replies)
Hi
I have one directory whose name i don't remember exactly only starting letter i know which is Resp.
Can you please let me know the command to find the similar directory in the root.
Rajesh (3 Replies)
Hi,
I have file in my $datadir as below :-
SAT_1.txt
SAT_2.txt
BAT_UD.lst
BAT_DD1.lst
DUTT_1.txt
DUTT_la.txt
Expected result :-
should get all the above file in $<Filename>_file.lst
Below is my code :-
for i in SAT BAT DUTT
do
touch a.lst
cd $datadir (1 Reply)
Hi,
I need to compare the /etc/passwd files from 2 servers, and extract the users that are similar in these two files. I sorted the 2 files based on the user IDs (UID) (3rd column). I first sorted the files using the username (1st column), however when I use comm to compare the files there is no... (1 Reply)
Today I change the DB and the PHP code and rebuilt the database for similar threads at the end of each post, increasing from a max of 5 to a max of 10 similar threads per post:
More UNIX and Linux Forum Topics You Might Find Helpful
It was quite easy to do:
1. Increased the max size of... (17 Replies)
Discussion started by: Neo
17 Replies
LEARN ABOUT DEBIAN
image::exiftool::pdf
Image::ExifTool::PDF(3pm) User Contributed Perl Documentation Image::ExifTool::PDF(3pm)NAME
Image::ExifTool::PDF - Read PDF meta information
SYNOPSIS
This module is loaded automatically by Image::ExifTool when required.
DESCRIPTION
This code reads meta information from PDF (Adobe Portable Document Format) files. It supports object streams introduced in PDF-1.5 but
only with a limited set of Filter and Predictor algorithms, however all standard encryption methods through PDF-1.7 extension level 3 are
supported, including AESV2 (AES-128) and AESV3 (AES-256).
AUTHOR
Copyright 2003-2011, Phil Harvey (phil at owl.phy.queensu.ca)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
REFERENCES
<http://partners.adobe.com/public/developer/pdf/index_reference.html>
Crypt::RC4
<http://www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf>
<http://www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/adobe_supplement_iso32000.pdf>
<http://tools.ietf.org/search/rfc3454>
<http://www.armware.dk/RFC/rfc/rfc4013.html>
SEE ALSO
"PDF Tags" in Image::ExifTool::TagNames, Image::ExifTool(3pm)perl v5.12.4 2011-03-10 Image::ExifTool::PDF(3pm)