DDUP(1)
π¦ DDUP(1) π¦
okay so real talk, this is the ddup page from mpiFileUtils and it's genuinely one of the most useful little tools ever, bestie. let's get into it β¨
πΈ NAME πΈ
ddup β report files with identical content. that's it, that's the whole job, and she does it beautifully. π
π SYNOPSIS π
ddup [OPTION] PATH
β¨ DESCRIPTION β¨
okay so picture this: it's a parallel MPI application and its entire main character energy is reporting files under a directory tree that have identical content. like, she walks the whole tree and finds the twins. π₯
so ddup reports path names to files having identical content β a.k.a. duplicate files, a.k.a. the reason your disk is full, no cap. you give her a top-level directory (that's the PATH), and she reports the path name to any file that is a duplicate of another file anywhere under that same directory tree. anywhere. she does not care about subfolders, she will find it. π΅οΈββοΈ
and here's the iconic part: the path to each file gets reported, along with a final hash representing its content. so you can match up multiple sets of duplicate files using that final reported hash. iykyk β the hash is the glue. π«Ά
π OPTIONS π
--open-noatimeβ opens files with theO_NOATIMEflag, if possible. key phrase: if possible. don't come for her if it's not. π-d,--debug LEVELβ sets the verbosity level.LEVELcan be one of:fatal,err,warn,info,dbg. pick your vibe.-v,--verboseβ run in verbose mode. she talks more. we love a chatty queen. π¬-q,--quietβ run the tool silently. no output is printed. like, nothing. silence. π€«-h,--helpβ prints the command usage, and the list of options available. the classic "help me help you" moment. π«Ά
π EXAMPLES π
- to report any duplicate files under a directory tree:
mpirun -np 128 ddup /path/to/haystack
look at those 128 processes go. finding the needles, finding the duplicates, slaying. β
π§ SEE ALSO π§
the mpiFileUtils source code and all documentation may be downloaded from <https://github.com/hpc/mpifileutils>
π AUTHOR π
HPC
π COPYRIGHT π
2022, LLNL/LANL/UT-Battelle/DDN
and that's the whole page bestie! π this was version 0.12, dated Jan 29, 2025 β so go forth, run ddup, find those duplicate files, and free up your disk. you're welcome. πβ¨π
π¦ where this page comes from
- nixpkgs unstable: mpifileutils 0.12
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms