rmlint
Find space waste and other broken things on your filesystem. More information: https://rmlint.readthedocs.io/en/latest/rmlint.1.html.
- Check directories for duplicated, empty, and broken files:
rmlint
- Check for duplicates bigger than a specific size, preferably keeping files in tagged directories (after the double slash):
rmlint //
- Check for space wasters, keeping everything in the untagged directories:
rmlint //
- Delete duplicate files found by an execution of
rmlint:
./rmlint.sh
- Find duplicate directory trees based on data, ignoring names:
rmlint
- Mark files at lower path [d]epth as originals, on tie choose shorter [l]ength:
rmlint
- Find files with identical filename and contents, and link rather than delete the duplicates:
rmlint sh:link
- Use
dataas master directory. Find only duplicates in backup that are also indata. Do not delete any files indata:
rmlint //
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
