Syntax Of FREEDUP
|
|
|
|
Option Categories
|
| File Comparison |
-a | provide compatibility to freedups by William Stearns.[=-gup] |
-d | requires the modification time stamps to be equal. |
-D <sec> | allow the modification time stamps to differ by not more than <sec> seconds. |
-f | requires the path-stripped file names to be equal. |
-g | requires groups to be equal. |
-p | requires file permissions to be equal. |
-u | requires 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 |
-c | count file space savings per linked file. |
-h | shows this help. [other option are ignored] |
-q | produces no output during the run (also toggles -c and -v to off) |
-v | display shell commands to perform linking [verbose]. |
|
|
| Actions |
-l | only allow hardlinks. No symlinks are established. |
-n | do not really perform links [no action]. |
-s | generate symlinks although some given paths are relative. |
-w | only 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. |
-i | decide 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). |
-0 | disable linking of empty files i.e. files of size 0. |
<tree> | any directory tree to scan for duplicate files recursively. |
|
|