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.
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.
cargo install --path .prune-disk --root /path/to/inspectCommon options:
prune-disk --root /path/to/inspect --delete-mode trash
prune-disk --root /path/to/inspect --delete-mode permanent
prune-disk --versionUp/Down: move the cursor.Left: go to the parent directory or previous header.Right: enter a directory or next header.Enterors: sort by the selected header.f: edit filters.Shift+f: clear filters.Space: toggle selection.Deleteord: 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.qorCtrl-C: quit.
GNU General Public License v3.0 only. See COPYING.