Skip to content

Releases: 294Ryan/DisposableDir

v1.0.0 - First stable version

Choose a tag to compare

@294Ryan 294Ryan released this 09 Aug 13:45
02a8e58

拋棄式資料夾 v1.0.0

發布日期:2026-08-09

首次正式發布。提供安全複寫與刪除拋棄式資料夾內容的核心功能。

新功能

  • 拋棄式資料夾建立:指定父目錄後自動建立 DisposableDir,名稱衝突時自動遞增編號。
  • 安全複寫:對資料夾內所有檔案寫入隨機亂數(最多 1MB),並逐檔執行 fsync 強制落盤。
  • 驗證機制:銷毀前需輸入隨機 8 位驗證碼,防止誤操作。
  • 執行摘要:完整回報成功與失敗檔案數量、失敗清單及總執行時間。
  • 全域退出指令:任意輸入點輸入 --exit 可安全離開程式。
  • 色彩化終端輸出:以 colorama 實現分級訊息顯示(Info / Success / Warning / Error)。

備註

  • 複寫範圍為每個檔案前 min(檔案大小, 1MB),非完整覆寫。
  • 僅支援 Windows 平台。

DisposableDir v1.0.0

Release in: 2026-08-09

Initial release. Provides core functionality for securely overwriting and deleting contents within a disposable directory.

New Features

  • Disposable directory creation: Automatically creates a DisposableDir under the specified parent directory; auto-increments the name on conflict.
  • Secure overwrite: Writes random bytes (up to 1MB) to every file in the directory, with fsync called per file to force disk commit.
  • Verification mechanism: Requires an 8-digit random verification code before destruction to prevent accidental operations.
  • Execution summary: Reports success and failure counts, a list of failed files with reasons, and total execution time.
  • Global exit command: Enter --exit at any input prompt to safely terminate the program.
  • Colorized terminal output: Structured message-level display (Info / Success / Warning / Error) powered by colorama.

Notes

  • Overwrite coverage is min(file size, 1MB) per file — not a full-file overwrite.
  • Windows platform only.