Version 1.0.0
An Interactive python based wrapper around the e4defrag utility
This tool runs as root and modifies system files,ensure you have backed up the files to be safe in case of error
- Operating systems: Linux based operating systems (Debian, Ubuntu , Linux Mint, etc.....)
- Root access: You need root access to modify system files
- Filesystem: Only EXT4 filesystem supported
e2fsprogspython 3.10+
sudo apt update && sudo apt install e2fsprogssudo dnf install e2fsprogsDownload the utility
wget https://raw.githubusercontent.com/sreeramkr-dev/PyDefrag-live/main/code.pyAlternatively you can download code.py directly
run code.py in terminal
python3 code.pyThe utility will ask for the sudo password,the tool needs it for accessing system files and modifying fragmented files
- Path Expansion: The utility currently requires full path as input (eg;
/home/<username>) - Shell expansion using:
~is currently not supported
Usage Note: Please provide full paths for accurate analysis
This utility was developed as a hobbyist project,while it is fully functional for its indented purpose it is not actively maintained
- No new features are planned
- Bug report may not get a response
- Feel free to fork the respository if you wish to continue the devolopment