diff --git a/pages/common/rmlint.md b/pages/common/rmlint.md index 95e8784c7d..92ed5526ad 100644 --- a/pages/common/rmlint.md +++ b/pages/common/rmlint.md @@ -7,9 +7,9 @@ `rmlint {{path/to/directory1 path/to/directory2 ...}}` -- Check for space wasters, preferably keeping files in tagged directories (after the double slash): +- Check for duplicates bigger than a specific size, preferably keeping files in tagged directories (after the double slash): -`rmlint {{path/to/directory}} // {{path/to/original_directory}}` +`rmlint -s {{1MB}} {{path/to/directory}} // {{path/to/original_directory}}` - Check for space wasters, keeping everything in the untagged directories: @@ -19,7 +19,7 @@ `./rmlint.sh` -- Find duplicate directory trees: +- Find duplicate directory trees based on data, ignoring names: `rmlint --merge-directories {{path/to/directory}}` @@ -27,10 +27,10 @@ `rmlint --rank-by={{dl}} {{path/to/directory}}` -- Find only duplicates that have the same filename in addition to the same contents: +- Find files with identical filename and contents, and link rather than delete the duplicates: -`rmlint --match-basename {{path/to/directory}}` +`rmlint -c sh:link --match-basename {{path/to/directory}}` -- Find only duplicates that have the same extension in addition to the same contents: +- Use `data` as master directory. Find only duplicates in backup that are also in `data`. Do not delete any files in `data`: -`rmlint --match-extension {{path/to/directory}}` +`rmlint {{path/to/backup}} // {{path/to/data}} --keep-all-tagged --must-match-tagged`