Remove Duplicate Files

Tags:

Sometimes we just have too many files and they might be the same. Let’s clean them up!

I’ve been using rmlint to clean up duplicate files, this is what I did:

pacman -Syu rmlint

After installing it, I go into any directory that might contain duplicates and run it:

rmlint .

It will not remove files but create a shell script to remove them. After inspecting the output, run the this like this:

./rmlint.sh