A comprehensive, powerful command-line file management tool with advanced features for Linux.
Powerful file operations, MD5 checksums, hex viewing, recursive size analysis, device-wide search, and desktop integration β all from your terminal.
By using this software, you agree to the full disclaimer terms.
Summary: Software provided "AS IS" without warranty. You assume all risks for file operations, deletions, and system interactions.
Full legal disclaimer: See DISCLAIMER.md
- π Recursive size analysis - Scan folders and see detailed size breakdowns
- ποΈ Safe deletion - Delete files and folders with confirmation prompts
- π Text file viewer - View any text file with paging support
- π Hex/Binary viewer - Examine raw file contents in hexadecimal format
- π MD5 hash calculator - Generate and verify file checksums
- π Open location - Open current or selected path in system file explorer
- π Device-wide search - Find files by pattern with preview and navigation
- π Interactive directory navigation - Change working directory with tab completion
- πΎ Detailed file info - View metadata, timestamps, sizes, and MD5
- π₯οΈ Desktop integration - Create .desktop entries for app menu and desktop
- π¨ Color-coded output - Beautiful terminal UI with intuitive color coding
- β‘ Tab completion - Auto-complete file and directory paths
# Arch Linux
sudo pacman -S python python-pip
# Debian/Ubuntu
sudo apt install python3 python3-pip
# Fedora/RHEL
sudo dnf install python3 python3-pip
# No additional Python packages required β uses only standard library!-
Clone the repository:
cd ~ git clone https://github.com/aixandrolab/ cli-files-manager.git cd cli-files-manager
-
Run directly (development mode):
python app.py
-
Create desktop entries (from within the app):
- Launch:
cli-files-manager - Select option
10βπ₯οΈ DESKTOP ENTRY - Choose menu integration (application menu, desktop, or both)
- Launch:
# Launch the interactive menu
cli-files-manager
# Inside the application:
# 1. Analyze folder size
π ANALYZE SIZE β /home/user/Downloads
# 2. Search for files
π SEARCH β pattern: *.txt
# 3. View file in hex
π VIEW HEX β select any binary file
# 4. Calculate MD5
π MD5 HASH β select any file
# 5. Create desktop shortcut
π₯οΈ DESKTOP ENTRY β create system integration| Option | Command | Description |
|---|---|---|
| 1 | π ANALYZE SIZE | Analyze file/folder size with progress bar |
| 2 | ποΈ DELETE | Permanently delete files or folders |
| 3 | π VIEW TEXT | Display text file content with pager |
| 4 | π VIEW HEX | Show binary/hexadecimal file view |
| 5 | π MD5 HASH | Calculate MD5 checksum of any file |
| 6 | π OPEN LOCATION | Open path in system file explorer |
| 7 | π SEARCH | Search entire device for files by pattern |
| 8 | π CHANGE DIR | Change working directory with TAB completion |
| 9 | πΎ FILE INFO | Show detailed file metadata |
| 10 | π₯οΈ DESKTOP ENTRY | Install app to system menu/desktop |
| 0 | πͺ EXIT | Exit application |
# Select option 1, enter path or press Enter for current directory
π /home/user/Downloads
# Output example:
[ββββββββββββββββββββββββββββββββββββββββ] 1250/1250 files
π TOTAL SIZE: 2.45 GB# Select option 7
π Enter search pattern: *.mp3
π Search root: /home/user/Music
# Results show all matches with sizes and paths
# You can select any result to: open location, view, delete, get MD5, or see info# Select option 5
π Enter file path: /path/to/file.iso
# Output:
MD5 Hash of file.iso:
a1b2c3d4e5f678901234567890123456# Select option 4
π Enter file path: binary_file.bin
# Output shows hex dump with ASCII representation:
00000000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 .PNG........IHDR
00000010 00 00 02 00 00 00 02 00 08 06 00 00 00 ... etc# Select option 10
π Choose option: 3 (Both)
# Output:
β
SUCCESS
β Application Menu: /home/user/.local/share/applications/ cli-files-manager.desktop
β Desktop: /home/user/Desktop/ cli-files-manager.desktop
β Icon found at: /opt/ cli-files-manager/data/icons/icon.png cli-files-manager/
βββ app.py # Main entry point
βββ utils/
β βββ asciiart.py # ASCII logo and separators
β βββ colors.py # Terminal color definitions
β βββ completer.py # Tab completion handler
β βββ desktop_entry.py # .desktop file creator
β βββ file_manager.py # Core file management logic
βββ data/
β βββ icons/
β β βββ icon.png # Application icon
β βββ images/
β βββ main_menu.png # Menu screenshot (documentation)
βββ .gitignore
βββ LICENSE # BSD 3-Clause License
βββ README.md # This file
- Pure Python 3 β Uses only standard library (no external dependencies)
- Tab completion β Powered by Python's
readlinemodule with custom path completer - Recursive scanning β Efficient directory walking with real-time progress
- Hex viewer β Binary-safe reading with hexdump-style formatting
- MD5 calculation β Streaming hash computation for files of any size
- Desktop integration β Generates freedesktop.org-compatible
.desktopfiles - Paging support β Uses
less/morefor long output, falls back to inline display
β οΈ Deletion is permanent β No recycle bin, files are removed immediately- β All operations require confirmation β Especially destructive actions
- π No data collection β Works completely offline, no telemetry
- π Respects permissions β Cannot access files without proper OS permissions
- π₯οΈ Desktop files are safe β Created in user directories, not system-wide
# Install readline if missing (usually included)
# For minimal Python installations:
pip3 install readline# Install less (or use more):
sudo apt install less # Debian/Ubuntu
sudo pacman -S less # Arch# Update desktop database:
update-desktop-database ~/.local/share/applications/
# Log out and back in, or restart your desktop environment# Run with appropriate user permissions
# Do NOT run as root unless necessary
# Check file ownership: ls -la /path/to/file# Run with verbose output (no arguments - just use menu)
python app.py- Author: Alexander Suvorov
- GitHub: @aixandrolab
- Repository: aixandrolab/cli-files-manager
- License: BSD 3-Clause
- Smart 2FA Manager β TOTP 2FA manager for Linux (Bash)
- Smart File Manager CLI β This project
- More tools at aixandrolab
Licensed under BSD 3-Clause License β’ Copyright (Β©) 2026, Alexander Suvorov
Made with β€οΈ for terminal lovers who want powerful file management at their fingertips.
