Forrest logo
tool overview
On this page you find all important commands for the CLI tool rmlint. If the command you are looking for is missing please ask our AI.

rmlint

Rmlint is a command line tool for cleaning up disk space on Linux systems. It helps users to identify and remove duplicate and similar files from their file systems. The tool is written in Python and is highly efficient for large file systems. Rmlint utilizes various algorithms to detect and compare files, such as fuzzy hashing, byte-by-byte comparison, and others, ensuring accurate duplicate identification. It offers several modes of operation, such as interactive, batch, and dry-run, providing flexibility for users to choose the best approach for their needs. Rmlint provides detailed reports, showing file duplicates, hard links, broken symlinks, empty files, and other types of clutter. It can automatically resolve duplicates by hard linking, moving, or deleting the identified files, based on the user's preferences. The tool supports various file systems, including ext4, XFS, JFS, and Btrfs. Rmlint is actively maintained and regularly updated to enhance its performance and add new features. Additionally, it is distributed under the GNU General Public License, making it free and open-source software.

List of commands for rmlint:

  • rmlint:tldr:0e5af rmlint: Find only duplicates that have the same filename in addition to the same contents.
    $ rmlint --match-basename ${path-to-directory}
    try on your machine
    explain this command
  • rmlint:tldr:41c2c rmlint: Find all duplicates with the same extension.
    $ rmlint --match-extension ${path-to-directory}
    try on your machine
    explain this command
  • rmlint:tldr:6c0c2 rmlint: Find duplicate directory trees.
    $ rmlint --merge-directories ${path-to-directory}
    try on your machine
    explain this command
  • rmlint:tldr:e7926 rmlint: Check a directory for duplicates, empty files, and other issues.
    $ rmlint ${path-to-directory}
    try on your machine
    explain this command
  • rmlint:tldr:faf12 rmlint: Mark files at lower path [d]epth as originals.
    $ rmlint --rank-by=${d} ${path-to-directory}
    try on your machine
    explain this command
tool overview