Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

sreeramkr-dev/PyDefrag-live

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

PyDefrage-live

Version 1.0.0

An Interactive python based wrapper around the e4defrag utility

⚠BACKUP BEFORE RUNNING⚠

This tool runs as root and modifies system files,ensure you have backed up the files to be safe in case of error

Requirements

  • 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

Dependencies

  • e2fsprogs
  • python 3.10+

Ubuntu / Debian / Mint:

sudo apt update && sudo apt install e2fsprogs

Fedora (RHEL based distros):

sudo dnf install e2fsprogs

Usage

Download the utility

wget https://raw.githubusercontent.com/sreeramkr-dev/PyDefrag-live/main/code.py

Alternatively you can download code.py directly

run code.py in terminal

python3 code.py

The utility will ask for the sudo password,the tool needs it for accessing system files and modifying fragmented files

v.1.0.0 Release notes

Known issues

  • 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

Project Status

Status: Completed / Archived

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

About

An Python-based interactive wrapper around the e4defrag focused on simplifying the defragmentation process on linux

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages