Snapshot wipe targets into a tar.zst archive before deletion.
Snapshot wipe targets into a tar.zst archive before deletion.
(snapshot! tool
paths
{:keys [backup-dir] :or {backup-dir (default-backup-dir)}})Create a tar.zst archive at backup-dir/cleanx-<tool>-<ts>.tar.zst containing every path in paths. Returns Result{:ok {:archive :bytes}}.
Uses GNU tar + zstd via /usr/bin/tar, must be on PATH.
Create a tar.zst archive at backup-dir/cleanx-<tool>-<ts>.tar.zst
containing every path in paths. Returns Result{:ok {:archive :bytes}}.
Uses GNU tar + zstd via /usr/bin/tar, must be on PATH.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |