FTWIN(8)

NAME
ftwin - find duplicate files

SYNOPSIS
ftwin [OPTION]... [FILES OR DIRECTORIES]...

DESCRIPTION

ftwin reports two files if they are duplicates from each other.

Mandatory arguments to long options are mandatory for short options too.

-c, --case-unsensitive
    this option applies to regex match, -e or -w.

-d, --display-size
    display size before duplicates.

-e, --regex-ignore-file REGEX
    filenames that match this are ignored.

-f, --follow-symlink
    follow symbolic links.

-h, --help
    display usage informations.

-I, --image-cmp
    will run ftwin in image cmp mode (using libpuzzle).

-T, --image-threshold
    will change the image similarity threshold (default is [1], accepted [2/3/4/5]). [1] will display only very similar pictures, [5] will be the most permissive.

-i, --ignore-list file1,file2,...,filen
    comma-separated list of file names to ignore.

-m, --minimal-length size in bytes
    minimum size of file to process.

-o, --optimize-memory
    reduce memory usage, but increase process time. (This option is not implemented yet)

-p, --priority-path path
    file in this path are displayed first when duplicates are reported.

-r, --recurse-subdir
    recurse subdirectories.

-s, --separator character
    separator character between twins, default: \n.

-t, --tar-cmp
    will process files archived in .tar(.gz) default: off.

-v, --verbose
    display a progress indicator.

-V, --version
    display version.

-w, --whitelist-regex-file REGEX
    filenames that doesn't match this are ignored.

-x, --excessive-size size in bytes
    files that exceed this limit won't be read using mmap.

Try for more info.

EXAMPLES

The following command line will report duplicate pictures, using libpuzzle (-I) whose sizes are greater than 8192 bytes ( -m 8192 ) found recursively (-r) starting in your home directory. $ ftwin -m 8192 -v -r -I ${HOME}

This line will report duplicate files (no more in "image mode", but according to their content) whose extension is .txt and that are not in a .svn directory: $ ftwin -e ".*/\.svn/.*" -w ".*\.txt$" -v -r ${HOME}

AUTHOR
Written by Francois Pesce.

REPORTING BUGS
Report bugs to francois (dot) pesce (at) gmail (dot) com

COPYRIGHT
Copyright © 2007 Francois Pesce

SEE ALSO