czkawka-cli
Find and remove duplicate files
TLDR
List duplicate or similar files in specific directories
Find duplicate files in specific directories and delete them (default: NONE)
SYNOPSIS
czkawka_cli command [OPTIONS]
PARAMETERS
duplicates
Finds duplicate files based on content and/or name.
empty_folders
Finds empty folders.
big_files
Finds the largest files within a directory.
empty_files
Finds empty files.
temporary_files
Finds temporary files.
similar_images
Finds similar images (requires more processing power).
same_music
Finds same music files.
--path
Sets the path to scan. Defaults to the current directory if not provided.
--delete
Deletes the found files/folders. Use with caution!
--verbose
Enables verbose output for debugging.
--help
Displays help information.
--version
Displays version information.
DESCRIPTION
czkawka-cli is a command-line interface for the Czkawka multi-functional duplicate file finder written in Rust. It is designed for quickly and efficiently identifying and removing various types of unnecessary files on your system, including duplicate files, empty folders, large files, temporary files, similar images, broken files, etc.
The tool focuses on speed, efficiency, and ease of use, offering features such as comprehensive filtering, multiple search methods, and robust error handling. It can be used to free up disk space, organize files, and improve system performance. Czkawka-cli is suitable for both beginners and advanced users who prefer working from the command line.
RETURN CODES
Returns 0 on success and non-zero on failure (errors during scan, deletion, etc.)
CONCURRENCY
Czkawka-cli uses multithreading to improve performance. The number of threads used can be configured through environment variables or command-line options (refer to the full documentation for details).
EXAMPLE USAGE
czkawka_cli duplicates --path /home/user/documents - Finds duplicate files in the 'documents' directory.
czkawka_cli empty_folders --delete --path /tmp - Deletes empty folders in the /tmp directory (use with caution).
czkawka_cli big_files --path . --verbose - Find big files in current directory and show more information.
HISTORY
Czkawka-cli is a relatively modern tool, closely tied to the development of the graphical Czkawka application. Both share a common core written in Rust and aim to provide a fast and efficient way to manage and clean up files. The CLI version allows for automation and integration into scripts.