GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
FTWIN(8) User Commands FTWIN(8)

ftwin - find duplicate files

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

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.

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}

Written by Francois Pesce.

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

Copyright © 2007 Francois Pesce

October 2007 ftwin 0.6.0

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.