Skip to content

Repository files navigation

DiskForce Eraser Logo

DiskForce Eraser

Professional Multiplatform Utility for Force Deleting Files and Rapid High-Speed Data Transfer

Python 3.8+ Platform License: MIT


About DiskForce Eraser

DiskForce Eraser is an advanced command-line (CLI) and Text User Interface (TUI) tool engineered to solve two critical storage management problems on Windows, macOS, and Linux:

  1. Definitive Force Deletion of Stubborn Files/Folders (Bypassing OS Locks): Easily delete folders that say "Access Denied", "Folder in Use", or require permission from TrustedInstaller, SYSTEM, or administrator. Perfect for removing old Windows.old folders, legacy Program Files, or locked backup directories on external hard drives.
  2. High-Speed Inter-Disk Data Transfer (Fast Mover): Move massive amounts of data between hard drives at the maximum physical speed of your hardware. By leveraging multi-threaded copy technologies (like robocopy /mt on Windows and rsync on Unix), it outperforms standard file explorers by up to 5x.
  3. Military-Grade Secure Wipe (Data Shredding): Permanently destroy confidential files by overwriting data with random bytes and zeros multiple times before deletion, preventing recovery by forensic software. (⚠️ Note: 100% guaranteed on mechanical HDDs; modern SSDs may retain hidden physical traces due to hardware Wear-Leveling).
  4. Space Analyzer (Top 10 Largest Files): Instantly scan any drive or directory to visually find the exact files consuming the most Gigabytes, helping you free up disk space quickly.
  5. Ghost Folder Cleaner (Empty Directory Removal): Clean up your filesystem by performing a bottom-up sweep that finds and deletes hundreds of useless empty folders left behind by uninstalled software.
  6. SHA-256 Duplicate Finder: Free up massive amounts of storage by mathematically identifying exact duplicate files (using cryptographic hashes) regardless of their filename, and safely deleting the extra copies.

Whether you are an IT professional, sysadmin, or a power user searching online "how to delete undeletable folder in Windows", "fastest way to move terabytes of data between drives", or "how to permanently shred files and find duplicates", DiskForce Eraser is the complete automated solution.


Key Features & Technologies

  • Bypass Windows ACLs & Permissions: Uses native takeown, icacls, and robocopy /B (Backup Mode) to strip permissions and force-delete undeletable files.
  • Multi-threaded Moving: Transfers data using up to 16 threads simultaneously, evading slow Windows Explorer bottlenecks.
  • Cryptographic Accuracy: Employs SHA-256 hashing to guarantee that duplicate files are 100% mathematically identical before offering to delete them.
  • Cross-Platform (Windows, macOS, Linux): Written in Python, it detects your OS and applies the optimal native commands (rm -rf and rsync on Unix).
  • Interactive Educational TUI: Beautiful terminal interface built with rich and questionary. Each tool displays an educational card explaining what it does and when to use it before executing. No need to memorize complex CLI arguments!
  • Hybrid Path Selection: Choose paths using a graphical file explorer popup or by pasting the path directly into the terminal.
  • Smart Security Filters: Real-time analysis engine prevents accidental deletion of critical live system directories (like C:\Windows, /boot, /etc).

Installation & Usage Guide

DiskForce Eraser is designed to be plug-and-play. It automatically installs required dependencies (rich, questionary) on first launch.

Prerequisites

  • Python 3.8 or higher must be installed on your system.

Windows Installation

  1. Clone or download this repository to your local machine.
  2. Navigate to the downloaded folder.
  3. Double-click the IniciarDiskForce.bat file.
  4. Note: You may be prompted for Administrator privileges (UAC). This is required to execute Backup Mode deletions and modify file ownership (TrustedInstaller).
  5. Use the arrow keys to navigate the interactive menu!

macOS Installation

  1. Open your Terminal.
  2. Clone the repository and navigate into the folder:
    git clone https://github.com/YourUsername/DiskForce-Eraser.git
    cd DiskForce-Eraser
  3. Grant execution permissions to the launcher script (only required once):
    chmod +x iniciar_diskforce.sh
  4. Run the script:
    ./iniciar_diskforce.sh

Linux Installation

  1. Open your Terminal.
  2. Clone the repository and navigate into the folder:
    git clone https://github.com/YourUsername/DiskForce-Eraser.git
    cd DiskForce-Eraser
  3. Grant execution permissions:
    chmod +x iniciar_diskforce.sh
  4. Run the utility:
    ./iniciar_diskforce.sh

Official UI Design (TerminalCraft Edition)

The TUI is designed with a premium, distraction-free aesthetic:

  • Dark Background: #00060D
  • 🟦 Deep Blue Borders: #023059
  • 🌌 Night Blue Active Menus: #011526
  • 🔷 Vibrant Cyan Highlights: #03658C
  • 🟡 Gold Contrasting Signature: #FFD700 (Powered by Danny Maaz)
  • Ash White Text: #F2F2F2

Built-in Security Protections

DiskForce Eraser includes a hot-analysis security engine that blocks catastrophic destructive operations:

  • Windows Protection: Exact blocking of root drives (e.g., C:\), root Users and Program Files folders. Recursive blocking of the active C:\Windows directory to prevent OS corruption.
  • Unix Protection: Blocks deletion of critical roots like /, /home, /etc, and recursively protects /boot, /bin, /lib, /sys, etc.
  • Two-Step Verification: Requires manual typing of the author's signature (Danny Maaz) before any destructive action is executed.

Disclaimer: This is a powerful system utility. Use it with caution. The author is not responsible for any accidental data loss. Always double-check the paths you are selecting for deletion.


Icons by Icons8

About

Enterprise-grade cross-platform utility to force delete stubborn files, shred confidential data, find duplicates, and move terabytes of data at maximum speed.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages