From a5023e61be61f2f2287342039addab6bb28ad2fd Mon Sep 17 00:00:00 2001 From: Agando Date: Thu, 4 Jun 2026 06:01:04 +0200 Subject: auto: 2026-06-04_06:00 changes --- skills/webdav.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 skills/webdav.md (limited to 'skills/webdav.md') diff --git a/skills/webdav.md b/skills/webdav.md new file mode 100644 index 0000000..c8b2dfc --- /dev/null +++ b/skills/webdav.md @@ -0,0 +1,44 @@ +--- +name: webdav +description: Configure, sync, backup, and restore VFS via WebDAV cloud storage. +tags: [webdav, cloud, backup, sync, storage, vfs] +category: system +--- + +## CRITICAL: VERIFY BEFORE EXECUTING +**ALWAYS run `help ` first.** If `help ` returns nothing, the command does NOT exist. Never invent commands — terminal crashes. + +## 1. Configure & Status +- `webdav-config` — configure WebDAV endpoint URL and credentials +- `webdav-status` — verify connection health, last sync, space info + +## 2. File Operations + +| Command | Purpose | +|---------|---------| +| `webdav-ls [path]` | List remote directory contents | +| `webdav-push ` | Upload file to WebDAV | +| `webdav-pull [local]` | Download file from WebDAV | + +## 3. Backup & Restore +- `webdav-backup` — push full VFS snapshot to WebDAV (`/backups/newos4-.json`) +- `webdav-backup-list` — list all remote backup snapshots +- `webdav-restore ` — restore VFS from remote backup + +## 4. What Does NOT Exist +These will crash the terminal: +- `webdav-browser` ❌ +- `webdav-explorer` ❌ +- `webdav-delete` ❌ +- `webdav-rm` ❌ + +Since `curl` is also blocked, no automated way to delete WebDAV backups from the terminal — use the WebDAV web interface outside. + +## 5. When to Use +- Before factory-reset: `webdav-backup` to store VFS remotely +- Cross-browser: `webdav-push`/`webdav-pull` to move files +- User says "cloud backup" or "remote save" + +## 6. Connection Details +- Uses per-user token stored in `.token` file on the server +- WebDAV runs on same server (nginx with WebDAV module) — no external dependency \ No newline at end of file -- cgit v1.2.3