How to search and delete Duplicate/Unwanted Files Using FSlint Tool

To search and delete Duplicate or Unwanted Files in Linux Using FSlint Tool

fdupes utility is used to find and replace duplicate files in Linux. In this article we will discuss about fslint tool and how it is used to search and delete Duplicate or Unwanted Files in Linux.
It has features like combination of different tools that look after duplicate files, empty directories and improper name, Simple GTK+ Graphic front-end, helps in reclaiming disk space. It is a perfect tool that remove lint of various types from a file system.

To install on a Linux

Execute following command on Debian based systems such as Ubuntu and Linux Mint.

[root@linuxhelp~]# apt-get install fslint
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
&hellip 
&hellip 
&hellip 
&hellip 
Installed!

On CentOS/RHEL based distributions

Activate the epel repository

[root@linuxhelp~]# yum install fdupes 

On Fedora based distributions

[root@linuxhelp~]# dnf install fdupes

Usage of this command

It is the application that has a command-line interface as well as a front-end GUI at the same time. GUI front-end suited to newbies and for who prefer GUI over CLI. CLI version is preferred since it gives immense power.

You can access in the location /usr/share/fslint/.

[root@linuxhelp~]# /usr/share/fslint/fslint/fslint
-----------------------------------file name lint
./Amy Macdonald - This Is The Life-iRYvuS9OxdA.mkv
./Linux - Install Configure HTTP DNS BIND Server CentOS 6.3 - Config Static IP Address - Step 1-V3ymaozVntU.f136.mp4.part
-------------------------------Invalid utf8 names
-----------------------------------file case lint
----------------------------------DUPlicate files
-----------------------------------Dangling links
--------------------redundant characters in links
------------------------------------suspect links
--------------------------------Empty Directories
./.config/ibus
./.gvfs
----------------------------------Temporary Files
----------------------duplicate/conflicting Names
find: File system loop detected  `/usr/bin/X11'  is part of the same file system loop as `/usr/bin/' .
-rwxr-xr-x 1 root root      88 Mar 14 18:07 /usr/bin/youtube
-rwxr-xr-x 1 root root 1141708 Mar 14 14:59 /usr/local/bin/youtube
------------------------------------------Bad ids
-------------------------Non Stripped executables

Here, it shows you tube as error since same name exists in both directories.

It doesn' t delete files on its own , it simply displays the file, location and name.

To search a different directory other than your /home directory

[root@linuxhelp~]# /usr/share/fslint/fslint/fslint /home/user1/Desktop
-----------------------------------file name lint
-------------------------------Invalid utf8 names
-----------------------------------file case lint
----------------------------------DUPlicate files
-----------------------------------Dangling links
--------------------redundant characters in links
------------------------------------suspect links
--------------------------------Empty Directories
/home/user1/Desktop/Untitled Folder
----------------------------------Temporary Files
----------------------duplicate/conflicting Names
------------------------------------------Bad ids
-------------------------Non Stripped executab

To search recursively to all the sub-folders

flag ‘ " -r" ’ is to be used.

[root@linuxhelp~]# /usr/share/fslint/fslint/fslint -r /home/user1/Desktop

It will check for all the sub-directories available in the given path.

FSLINT in graphical mode

To execute the tool in graphical just type the below command-line or you can launch from the applications

[root@linuxhelp~]# fslint-gui

GUI is simple to understand. You just need to do these

Add/remove the directories to scan

Click on ‘ Find’ button to select scan recursively not by checking/unchecking check box on the top-right.

Tag : Fslint
Comment
ryanpirsten
Mar 20 2018
I use DuplicateFilesDeleter. It is really friendly and helpful.
frankcapolla
Apr 09 2017
I'm using Duplicate Files Deleter program, it's highly efficient and fast. I recommend it.
Add a comment
FAQ
Q
What is the command to get gui mode in Fslint tool?
A
use the following command to get GUI mode in Fslint tool

# fslint-gui
Q
What is the purpose of Find button in Fslint?
A
‘Find’ button to select scan recursively not by checking/unchecking check box on the top-right.
Q
How to install Fslint on OpenSUSE?
A
Use zypper package installer

# zypper install fslint
Q
What is the Command to install Fslint tool on Centos/Rhel?
A
For Red Hat based distro’s:

# yum install fslint
Q
How to search the Fslint file recursively in Linux terminal?
A
Use the "-r" option in fslint command