Czkawka Is a fast (multi-threaded) application for finding and deleting duplicate files, invalid symbolic links, similar images, etc.In the user interface and function FSlint, Which is a duplicate file finder for Linux, has not been updated from Python2, so it is no longer available for many Linux distributions.
The application is written in Rust, has a GUI (GTK3) and CLI front end, and is available for Linux, macOS and Microsoft Windows.
Using Czkawka, you can delete unnecessary files from your computer, such as:
- Duplicate files
- Similar images (with image preview)
- Music repeat
- Large file
- Temporary Files
- Zero file
- Invalid symbolic link
- Damaged file
- Empty file
- Empty directory
Through its simple user interface, you can include or exclude directories (you can choose to scan only the top directory or recursively) and items, and you can also choose to add a list of allowed extensions.
Some “unnecessary files” categories have their own options. For example, when searching for duplicate files, you can specify the minimum file size, check method (hash, HashMb, size or name) and hash type (Blake3, CRC32 or XXH3). For similar images, there are options to specify the minimum file size and similarity (from smallest to very high). For music copies, Czkawka allows to set the minimum file size, as well as the song title, artist, album title, album artist and year.
You can specify from the application options to display a confirmation dialog when deleting, move deleted files to the trash instead of deleting them (not selected by default, so you may want to enable this option in case you delete it by mistake You can restore them), disable the display of image previews when scanning similar images, etc.
In the Czkawka options, you will also find options to save the current configuration, load the saved configuration and reset it. Here, “configuration” refers to the settings you enter in Czkawka to find duplicates, such as directories to include and exclude, check methods, etc.
Czkawka’s command line interface seems to be functionally equivalent to the GUI (at least at first glance), and its help is extensive and provides examples. So, if you are looking for a way to automatically remove duplicate files from scripts, scan and delete similar images, etc., please try it. Please note that although the GUI and CLI interface can be downloaded in separate binary files!
The tool was updated to version 3.0.0 yesterday, with many improvements:
- Choose not to ignore hard links
- Hard link support for GUI
- New settings window
- Delete files uniformly
- Run the dry run of the CLI repeatedly
- Choose to turn off caching
- Add confirmation dialog when trying to delete all files in the group
- Add a confirmation dialog when deleting files using the delete key
- Double click or use the Enter key to open the file
- Allow files to be placed in the trash instead of deleting them completely
BleachBit is a somewhat similar tool: it can remove unnecessary files, but no duplicate files can be found.
To search for duplicate files (or other categories in the left column, such as similar images, invalid symbolic links, etc.), add the directory to be scanned at the top of the application. You can also add directories or items to be excluded and allowed extensions.then click
Search The button in the lower left corner starts to find duplicates (or other unnecessary files).
The first time you perform a search, Czkawka may take some time (depending on many factors, number of files included in the search, hardware, etc.), but the second and subsequent scans are much faster than the first scan thanks to the application’s cache Feature (you can disable it through its settings).
For each duplicate found, the application allows you to use multiple filters (for example,
All except oldest,
All except newest, ETC. ):
With this selection, you can choose to delete, symbolic link or hard link the found file. You can also save the duplicates to a text file.
If you choose to delete the duplicates found, it is recommended to turn on the Czkawka option and enable this option to move the deleted duplicate files to the trash can, so that you can restore them when you delete the wrong files later.
You may need to access the usage of Czkawka Instructions more details.
You might also like: Use SongRec to identify songs on the Linux desktop, SongRec is a Shazam client for Linux (also written in Rust)
You can find Czkawka binaries for Linux, Windows and macOS. Each has a separate GUI and command line binary files available for download.
In addition to the binaries in the “Distribution” tab of the application, there are also Snap, Flatpak, AUR and PPA packages that can be used to install Czkawka. Alternatively, you can build it from source code.View application Installation part For more information.
The GitHub version tab provides Czkawka GUI as a universal binary file and AppImage (CLI is only provided as a separate universal binary file). They can all work on any Linux distribution, but please note that in my case, the application does not follow my system GTK theme when using AppImage binaries. This does not happen with universal binary files.
If you choose to obtain a generic GUI binary file (
linux_czkawka_gui), from the application GitHub releases tab, place this file in your home directory, and install it to
sudo install ~/linux_czkawka_gui /usr/local/bin/czkawka-gui
After that, you can delete
linux_czkawka_gui Files in your home directory.
With this feature, you will not find Czkawka in the application menu.Therefore, it can be started by
Alt + F2 Or by opening a terminal and typing
czkawka-gui, You can also use tools such as MenuLibre to add menu items to it.
To install Czkawka Linux CLI tool in the following location
linux_czkawka_cli, Put it in your home directory, and run:
sudo install ~/linux_czkawka_cli /usr/local/bin/czkawka-cli
You can delete now
linux_czkawka_cli Binary files in your home directory.
You might also like: How to use Atbswp macro recorder (GUI) to record and play mouse and keyboard events