aboutsummaryrefslogtreecommitdiffstats
path: root/docs/USERGUIDE.md
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-15 01:12:16 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-15 01:12:16 +0200
commit382fcc5f675f9942350013780335315757c245c5 (patch)
treea24ed8732c6d3971b071ed6af3c399d6142b79f4 /docs/USERGUIDE.md
parent6f68bb6c1970e26de1f66c073ea5d7fecd21840d (diff)
downloadmeshbay-382fcc5f675f9942350013780335315757c245c5.tar.gz
feat(cli): rm, and Delete in the interactive mode
rm deletes files, resolved as get resolves paths and patterns, with the node's rule (design §5.4): the uploading account's devices, or the node's operator account. The whole run is checked against the index first (the entry's uploader_id, the role the join result gives this key): a file outside the rule, or a folder, refuses it before anything is asked or sent. Then one confirmation, or --yes. The node's challenge is checked against what was asked before it is signed. In the interactive mode, Delete on the right pane does the same, asked once per batch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/USERGUIDE.md')
-rw-r--r--docs/USERGUIDE.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/USERGUIDE.md b/docs/USERGUIDE.md
index d66e757..5eced69 100644
--- a/docs/USERGUIDE.md
+++ b/docs/USERGUIDE.md
@@ -241,6 +241,7 @@ meshbay-cli groups # your groups, their node, your role
meshbay-cli ls -l Family/photos # a group, a folder of it
meshbay-cli get -R Family/photos/2024 # download, here; -o elsewhere
meshbay-cli put -R ~/scans Family/documents
+meshbay-cli rm Family/documents/old-draft.odt # asks first; --yes in a script
meshbay-cli logout
```
@@ -248,9 +249,10 @@ A group is named as the GROUP column of `meshbay-cli groups` prints it; add
`@owner` only when two of your groups share a name. Quote wildcards
(`'Family/music/*.flac'`): they are matched against the group, not against
your disk. An interrupted download resumes where it stopped the next time you
-run the same `get`. Run `meshbay-cli` with nothing after it for a two-pane
+run the same `get`. `rm` deletes what you uploaded, from any of your devices;
+the node's operator can delete anything. Run `meshbay-cli` with nothing after it for a two-pane
view: this computer on the left, your groups on the right, F5 to copy the
-selection across.
+selection across, Delete to delete it from the group (what `rm` may delete).
`login` remembers the session, so later runs need no passphrase; `logout`
forgets it and everything else stored on this computer. What is kept is