Syntax Of FREEDUP

freedup[options] [<tree> ...]
Options are toggle switches. Their final state applies.
Later <tree> entries are linked to the earlier ones.
Providing no <tree> means to take filenames(!) from stdin.
When standard input is used the option -o has no effect.
FreeDup Version 1.1-1 by Andreas Neuper ©2007.
Sha1 Version 1.0.4 by Allan Saddi ©2001-2003.
 
 

Option Categories

File Comparison
-aprovide compatibility to freedups by William Stearns.[=-gup]
-drequires the modification time stamps to be equal.
-D <sec>allow the modification time stamps to differ by not more than <sec> seconds.
-frequires the path-stripped file names to be equal.
-grequires groups to be equal.
-prequires file permissions to be equal.
-urequires users to be equal.
 
Comparison Style
-x <style>where style means what kind of containers freedup should look for before processing, i.e. the calculation of hashsums and comparison.
mp3 strips mp3v1 and mp3v2 tags
mp4 strips all mpeg containers except the first sequence of mdat ones
mpc strips mouse pack trailing tags
jpg strips jpeg header tags (including quantizazion)
ogg strips OggS header and short trailing tags
auto selects one of above methods when appropriate
 
Hash Functions
-t <type> selects an external hash method. Valid choices are sha512, sha384, sha256, sha224, sha1, md5, sum . External hash functions are not supported with comparison styles.
-#disable usage of hash functions, but still compare all files byte by byte.
 
Reporting
-ccount file space savings per linked file.
-hshows this help. [other option are ignored]
-qproduces no output during the run (also toggles -c and -v to off)
-vdisplay shell commands to perform linking [verbose].
 
Actions
-lonly allow hardlinks. No symlinks are established.
-ndo not really perform links [no action].
-sgenerate symlinks although some given paths are relative.
-wonly weak symbolic links allthough hardlinks might be possible
 
General Behaviour
-b <path>set current working directory to the given path.
-e <env>load an environment set, i.e. some stored default settings. If not present, it will be stored. Please note, that the environment setting are loaded when it is read, but stored after all settings were performed.
-idecide in interactve mode what to do with identical files.
-m <bytes>only touch larger files. (deprecated: use -o -size +#c)
-o <opts>pass one option string to the initially called find command (last given string applies).
-0disable linking of empty files i.e. files of size 0.
<tree>any directory tree to scan for duplicate files recursively.