Linuxious

rmlint: quickly detect and remove lint from your machine

I came across a useful program called rmlint, a very fast GPLv3 licensed non-interactive tool which detects and removes duplicates and other lint from your filesystem, last week and finally had a moment to give it a try.

My initial impressions are quite good. It did everything that it said it could do and quickly freed up a few gigabytes of space in my various miscellaneous storage directories within my /home folder (everyone has at least one of those, right?).

It does things a little differently than other system cleaners in that it doesn’t actually remove the files itself. Instead, it simply generates a shell script which allows you to look over the selected files and tweak things before executing it to finalize the removal process. This of course puts the blame squarely back on your shoulders should you inadvertently delete something you wanted to keep.

It also has a nice colored output as it is working as well as an optional progress bar.

rmlint is able to detect the following:

  1. Duplicate files and directories.
  2. Empty/Zero-byte files and directories.
  3. Files with broken user and/or group IDs.
  4. Broken symbolic links.
  5. Non-stripped binaries.

Please feel free to leave your comments and suggestions below. If you liked this article, please also consider sharing it with your friends.

Leave a comment

Your email address will not be published. Required fields are marked *
Please note that all comments are held for moderation.

The following HTML tags are permitted: <a> <abbr> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>