v0.9.3: add cleanup command
pipeline / test (push) Has been cancelled
pipeline / build (push) Has been cancelled

This commit is contained in:
Ein Anderssono
2026-06-15 02:40:12 +02:00
parent 84e70bda76
commit 98320c8235
7 changed files with 184 additions and 8 deletions
+9
View File
@@ -847,6 +847,15 @@ Repair missing manifest metadata from files already present on disk:
Repair fills missing size/checksum metadata and skips missing, zero-byte, or unreadable files.
Preview and remove files not referenced by the manifest:
```bash
./bin/photoscli cleanup --out ./PhotosBackup --dry-run
./bin/photoscli cleanup --out ./PhotosBackup
```
Cleanup preserves manifest/log/failure files, `.photoscli`, and sidecars next to manifest-referenced media.
## Safe Operating Practices
- Run `--dry-run` before the first large backup.