Command `rmlint`usage

Command rmlintusage

The command rmlint can be used to dedup the files, which can support reflink.

I was using reflink dedup for BTRFS, but end up, I changed to hardlink. I think hardlink is more commonly used in Unix environment


rmlint -T df --config=sh:handler=hardlink /dedup

This will dedup the files in /dedup directory, and will generate a file called in current directory. Run that shell script, will change duplicated files to hard link.

The -T df means dedup files.
The config=sh means generate shell script
The handler=hardlink means generate script using hardlink dedup

Other options

There are many options, but I don't use them.


Gentle Guide to rmlint
2 examples for rmlint

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

The reCAPTCHA verification period has expired. Please reload the page.