Diskussion:FSlint
FSlint
FSlint is available in various Linux distributions’ software repositories, including Ubuntu, Debian, Fedora, and Red Hat.
- Just fire up your package manager and install the “fslint” package.
- This utility provides a convenient graphical interface by default, but it also includes command-line versions of its various functions.
- Like many Linux applications, the FSlint graphical interface is just a front-end that uses the FSlint commands underneath.
Don’t let that scare you away from using FSlint’s convenient graphical interface, though.
- By default, it opens with the Duplicates pane selected and your home directory as the default search path.
- All you have to do is click the Find button and FSlint will find a list of duplicate files in directories under your home folder.
- Use the buttons to delete any files you want to remove, and double-click them to preview them.
Note that the command-line utilities aren’t in your path by default, so you can’t run them like typical commands.
- On Ubuntu, you’ll find them under /usr/share/fslint/fslint.
- So, if you wanted to run the entire fslint scan on a single directory, here are the commands you’d run on Ubuntu:
cd /usr/share/fslint/fslint
./fslint /path/to/directory
This command won’t actually delete anything.
- It will just print a list of duplicate files — you’re on your own for the rest.
FSlint
FSlint is yet another duplicate file finder utility that I use from time to time to get rid of the unnecessary duplicate files and free up the disk space in my Linux system.
- Unlike the other two utilities, FSlint has both GUI and CLI modes.
- So, it is more user-friendly tool for newbies.
- FSlint not just finds the duplicates, but also bad symlinks, bad names, temp files, bad IDS, empty directories, and non stripped binaries etc.
Installing FSlint
FSlint is available in AUR, so you can install it using any AUR helpers.
$ yay -S fslint
On Debian, Ubuntu, Linux Mint:
$ sudo apt-get install fslint
On Fedora:
$ sudo dnf install fslint
On RHEL, CentOS:
$ sudo yum install epel-release $ sudo yum install fslint
Once it is installed, launch it from menu or application launcher.
This is how FSlint GUI looks like.
FSlint interface
As you can see, the interface of FSlint is user-friendly and self-explanatory.
- In the Search path tab, add the path of the directory you want to scan and click Find button on the lower left corner to find the duplicates.
- Check the recurse option to recursively search for duplicates in directories and sub-directories.
- The FSlint will quickly scan the given directory and list out them.
Datei:Bild8.pngfslint GUI
From the list, choose the duplicates you want to clean and select any one of them given actions like Save, Delete, Merge and Symlink.
In the Advanced search parameters tab, you can specify the paths to exclude while searching for duplicates.
fslint advanced search
FSlint command line options
FSlint provides a collection of the following CLI utilities to find duplicates in your filesystem:* findup — find DUPlicate files
- findnl — find Name Lint (problems with filenames)
- findu8 — find filenames with invalid utf8 encoding
- findbl — find Bad Links (various problems with symlinks)
- findsn — find Same Name (problems with clashing names)
- finded — find Empty Directories
- findid — find files with dead user IDs
- findns — find Non Stripped executables
- findrs — find Redundant Whitespace in files
- findtf — find Temporary Files
- findul — find possibly Unused Libraries
- zipdir — Reclaim wasted space in ext2 directory entries
All of these utilities are available under /usr/share/fslint/fslint/fslint location.
For example, to find duplicates in a given directory, do:
$ /usr/share/fslint/fslint/findup ~/Downloads/
Similarly, to find empty directories, the command would be:
$ /usr/share/fslint/fslint/finded ~/Downloads/
To get more details on each utility, for example findup, run:
$ /usr/share/fslint/fslint/findup --help
For more details about FSlint, refer the help section and man pages.
$ /usr/share/fslint/fslint/fslint --help $ man fslint
- Resources
- Rdfind Website
- Rdfind GitHub Repository
- Fdupes GitHub Repository
- FSlint Website
- FSlint GitHub Repository
FSlint: GUI tool to find and remove duplicate files
FSlint helps you search and remove duplicate files, empty directories or files with incorrect names.
- It has a command-line as well as GUI mode with a set of tools to perform a variety of tasks.
To install FSlint, type the below command in Terminal.
sudo apt install fslint
Open FSlint from the Dash search.
FSlint includes a number of options to choose from.
- There are options to find duplicate files, installed packages, bad names, name clashes, temp files, empty directories etc.
- Choose the Search Path and the task which you want to perform from the left panel and click on Find to locate the files.
- Once done, you can select the files you want to remove and Delete it.
You can click on any file directory from the search result to open it if you are not sure and want to double check it before deleting it.
You can select Advanced search parameters where you can define rules to exclude certain file types or exclude directories which you don’t want to search.