Skip to content

dank-openai/prune-disk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prune-disk

prune-disk is a terminal UI for finding large or old filesystem entries and deleting them after confirmation.

It is meant for local cleanup work. By default, deletes move entries to the trash. Permanent deletion is available as an explicit mode and bypasses the trash.

Safety Warning

prune-disk deletes files. Permanent deletion bypasses the trash, and even trash-based deletion may be difficult or impossible to recover from on some systems.

Review selected paths before confirming deletion. The authors and contributors provide this software as-is, with no guarantees of correctness, safety, data recovery, or fitness for any purpose. You are responsible for backups and for the consequences of using the tool.

Install

cargo install --path .

Usage

prune-disk --root /path/to/inspect

Common options:

prune-disk --root /path/to/inspect --delete-mode trash
prune-disk --root /path/to/inspect --delete-mode permanent
prune-disk --version

Controls

  • Up / Down: move the cursor.
  • Left: go to the parent directory or previous header.
  • Right: enter a directory or next header.
  • Enter or s: sort by the selected header.
  • f: edit filters.
  • Shift+f: clear filters.
  • Space: toggle selection.
  • Delete or d: delete the current row or selection after confirmation.
  • T: empty the trash after confirmation.
  • r: refresh the current directory.
  • ?: show or dismiss help.
  • Esc: clear selection or dismiss dialogs.
  • q or Ctrl-C: quit.

License

GNU General Public License v3.0 only. See COPYING.

About

Terminal UI for finding and deleting large or old filesystem entries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages