lsdup is a Java application to list files with duplicate contents.
usage: lsdup [options] [DIRS]
--approx-size-range <arg> [0 or greater]
If --names-must-match is used and this is defined, then same-name files must also be within this many bytes of each other. Not available in comparison mode.
--contents-must-match <arg> [true|false]
If true, then files are equal if their data is equal. Default: true
--delete
Delete duplicates.
-h,--help
Print the help contents of the program.
--identify-earliest-modified
The duplicate that is earliest modified will be considered original.
--identify-latest-modified
The duplicate that is latest modified will be considered original.
--identify-least-parents
The duplicate that has the least parents will be considered original.
--identify-longest-path
The duplicate that has the longest relative path will be considered original.
--identify-most-parents
The duplicate that has the most parents will be considered original.
--identify-shortest-path
The duplicate that has the shortest relative path will be considered original.
--ignore
Ignore any file or directory matching any of the patterns. * and ? wildcards may be used.
--list <arg>
Write the list of duplicates to this file. If not specified, the list will be written to standard output.
--move <arg>
move duplicate files to this directory.
--names-must-match <arg> [true|false]
If true, then files are equal if their filenames are equal. Default: false
--override-read-only <arg>
when moving or deleting duplicate files, ignore any read-only permissions.
--perform <arg>
Perform the directions in the list file.
--read-only <arg>
DIR... - Any directories in this list are only compared against, but will not be moved or deleted.
--subjects <arg>
DIR... - Must be used in conjunction with "--read-only". Specified the folders which may have duplicates listed.



Keywords:lsdup , Java application , files , duplicate contents, bytes, latest modified ,parents,patterns, wildcards, output,directory