You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+46-15Lines changed: 46 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ pipx install devklean
25
25
pip install devklean
26
26
```
27
27
28
-
Requires Python 3.8+. Runtime dependencies are `send2trash` (used for all deletions) and `tomli` (only on Python < 3.11).
28
+
Requires Python 3.8+. Runtime dependencies are `send2trash` (used for all deletions) and `tomli` (only on Python < 3.11).`zstandard` is an optional dependency, only needed for `compress_format = "zstd"` — see [Compression](#compression).
29
29
30
30
## Quick start
31
31
@@ -70,7 +70,7 @@ devklean clean --dry-run # show what *would* be deleted; delete nothing
70
70
devklean clean -i # interactive: pick items in a TUI (Linux/macOS only)
devklean clean -y # skip the y/N prompt (large deletions still require typing DELETE)
73
-
devklean clean --compress #zip eligible directories before sending them to trash
73
+
devklean clean --compress #compress eligible directories (gzip) before sending them to trash
74
74
```
75
75
76
76
| Flag | Meaning |
@@ -79,7 +79,7 @@ devklean clean --compress # zip eligible directories before sending them t
79
79
|`-i`, `--interactive`| Choose items in a terminal UI (SPACE select, A all, D none, ENTER confirm, Q quit). **Linux/macOS only** — see [Platform support](#platform-support). |
80
80
|`--allow-symlinks`| Allow deleting symbolic links. Off by default (symlinks are blocked). |
81
81
|`-y`, `--yes`| Skip the standard confirmation. Deletions over the size threshold still require typing `DELETE`. |
82
-
|`--compress`|Zip eligible directories into a sibling archive before trashing them, shrinking their footprint in trash. Off by default — see [Compression](#compression). |
82
+
|`--compress`|Compress eligible directories into a sibling archive before trashing them, shrinking their footprint in trash. Off by default — see [Compression](#compression). |
83
83
84
84
### `restore`
85
85
@@ -95,9 +95,10 @@ devklean restore # explains how to recover from the Recycle Bin / Trash
95
95
-**macOS** — open Trash in Finder and "Put Back".
96
96
-**Linux** — open Trash in your file manager and restore.
97
97
98
-
If the item was deleted with `--compress`, what lands in trash is a `.zip`
99
-
archive rather than the original directory — restore the archive from trash,
100
-
then unpack it to the original path yourself. devklean does not decompress
98
+
If the item was deleted with `--compress`, what lands in trash is a `.tar.gz`
99
+
(or `.tar.zst`, if `compress_format = "zstd"`) archive rather than the original
100
+
directory — restore the archive from trash, then extract it to the original
101
+
path yourself, e.g. `tar -xf <name>.tar.gz`. devklean does not decompress
101
102
automatically (yet).
102
103
103
104
Run `devklean history` to see what was removed and when.
0 commit comments