ua 1.0.1

ua is a simple command line tool that finds sets of identical files.
ua
  1 Screenshot
ua is a simple command line tool that finds sets of identical files. The name is derived from the Hungarian word ugyanaz, meaning the same.

The development of ua was motivated by the disturbingly often recurring event of waiting too long for a shell script using sorts, md5sums, diffs, and the like to finish finding identical files.

Installation

ua builds with the GNU auto tools. There is a script supplied which should do it all.

$ sh autogen.sh CFLAGS= CXXFLAGS=" -O3"
$ make
$ sudo make install

In essence, the build part does the following:

$ g++ -o ua -O3 ua.cc filei.cc -I. -lcrypto


You need OpenSSL for the MD5 implementation.

ua will try to use hashed data structures, but those maybe implemented as extensions in STL. You may also prefer sorted tree based data structures. If this is the case, compile as

$ sh autogen.sh CFLAGS= CXXFLAGS=" -O3 -D__NOHASH"
$ make
$ sudo make install

which results in

$ g++ -o ua -O3 -D__NOHASH ua.cc filei.cc -I. -lcrypto

NB. if your compiler is not gcc or older than gcc.3.x, the sorted data structures will be used automatically. Our tests actually do not show that much of a difference.

You can also use the routines and classes independently of the ua tool. The filei.h file contains the definition of the goodies and it is extensively documented. The filei.cc implementation file can be compiled to an object file and linked to other projects are archived in a library.

last updated on:
December 20th, 2007, 5:55 GMT
price:
FREE!
developed by:
István Hernádvölgyi
homepage:
oss.euedge.com
license type:
MPL (Mozilla Public License) 
category:
ROOT \ Information Management
ua
Download Button

In a hurry? Add it to your Download Basket!

user rating 18

2.5/5
 

0/5

Rate it!

Add your review!

SUBMIT