finddup man page on Xenix

Man page or keyword search:  
man Server   1130 pages
apropos Keyword Search (all sections)
Output format
Xenix logo
[printable version]

FINDDUP(1)							    FINDDUP(1)

NAME
       finddup - find duplicate files in a list

SYNOPSIS
       finddup [options] filename

DESCRIPTION
       finddup	reads  a list of filenames from the named file and scans them,
       building a list of duplicate files and hard links. These are then writ‐
       ten  to	stdout	for the user's information. This can be used to reduce
       disk usage, etc.

   OPTIONS
	 -l - don't show info on hard links
	 -d - debug. May be used more than once for more info

   How it works
       finddup stats each name and saves the file length, device,  and	inode.
       It  then	 sorts	the  list and builds a CRC for each file which has the
       same length as another file. For files which have the same  length  and
       CRC,  a byte by byte comparison is done to be sure that they are dupli‐
       cates.

       The CRC step for N files of size S bytes	 requires  reading  n*S	 total
       bytes, while the byte by byte check must be done for every file against
       every other, and read S*N*(N-1) bytes. Thus the CRC is  a  large	 time‐
       saver in most cases.

EXAMPLES
	$ find /u -type f -print > file.list.tmp
	$ finddup file.list.tmp

FILES
       Only the file with the filenames.

SEE ALSO
       find(1).

DIAGNOSTICS
       If  files are named in the specification file but not present they will
       be ignored. If an existing file can not be read the program will termi‐
       nate rather than generate an incomplete list of duplicates.

LIMITATIONS
       An  option  to generate a partial list could be added when a file can't
       be accessed. An option to list only duplites which are not  hard	 links
       could be added.

AUTHOR
       Bill Davidsen, davidsen@crdos1.crd.ge.com

Copyright
       Copyright  (c) 1991 by Bill Davidsen, all rights reserved. This program
       may be freely used and distributed in its original form. Modified  ver‐
       sions must be distributed with the original unmodified source code, and
       redistribution of the original code or any derivative program  may  not
       be restricted.

				     LOCAL			    FINDDUP(1)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Xenix

List of man pages available for Xenix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net