FindDUPS - Find duplicate files>
finddups.zip - Utility program to find duplicate files on one of more drives or directories. Windows command line executable, no GUI.
Common usage is importing pictures from camera media and wishing to determine whether the files have been previously imported and possibly renamed.
License: This utility may be freely used so long as it is
unmodified, not sold or redistributed.
If
you find it useful, please send a post card from an interesting place and for comments or feedback, send email to "jnord" at outlook.com.
Joe Nord
FindDups - Find duplicate files
Locates duplicate files in a directory or a directory tree (-r) basing the
comparison on the file contents and ignoring the file names.
Program output is displayed in the format of a BAT file to support redirection
of stdout and manual inspection of results before conducting actual erase.
Optionally, with (-d) specified, program will perform file erase
When both source and destination parameters are provided, destination is read-only
and only files in source are considered for erase.
Zero size files are ignored for erase as they are always identical and the file
presence can have meaning outside of their contents (common with .ini files).
When deleting (-d) with recurse (-r), the program also removes empty directories.
A directory is considered empty when it has no files, or when it has only files
of zero size and in this case, the zero size files are purged with the directory.
Syntax:
finddups [-switches] <Source> [Destination] [Destination] ...
Where
Source Directory path and optionally filenames, wildcards supported
Destination Directory path and optionally filenames, wildcards supported
Switches:
-? Help Show this help screen
-a All Same behavior as DIR /A
-d Delete Perform file erase and remove empty directories
-r Recurse Process sub-directories
-v Verbose Show hashes and include information of matching files only in source
Examples
finddups -r c:\music\*.mp3
finddups -r e:\ "c:\family pictures"
finddups -r e:\ "c:\family pictures\*.jpg" "c:\scanned pictures"