Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Information Management

    ua 1.0.1

    Download button

    Downloads: 497  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.5/5)
    18 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    István Hernádvölgyi | More programs
    MPL / FREE
    December 20th, 2007, 05:55 GMT
    ROOT / Information Management

     Read user reviews (0)  Refer to a friend  Subscribe

    ua description

    ua is a simple command line tool that finds sets of identical files.

    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.

    Product's homepage

      


    TAGS:

    find duplicates | file sorter | diff tools | find | duplicates | md5sums

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM