$worker
shell
v0.3.5Unix shell + filesystem worker — exec with allowlist/denylist/timeout/output caps and background jobs; fs::ls|stat|mkdir|rm|chmod|mv|grep|sed|read|write with host jail, denylist, size caps, and sandbox-target forwarding
- macOS: arm64 · x64
- Linux: arm64 · armv7 · x64
skill doc
skills/mv.md
Renaming or moving a path inside the jail
When to use
- Renaming in place inside the same parent directory.
- Moving across directories within the jail.
- Atomic publish of a generated file from a temp name to its final location.
Notes
- Both
srcanddstare absolute and must be inside the same jail. - Implementation is
rename(2)with a fallback to copy + unlink whensrcanddstcross filesystems. The fallback is not atomic on its own; a crash after the copy and before the unlink leaves both copies on disk. - Without
overwrite: truethe call refuses ifdstexists and returns the triggerErr. - This is
mvfor one path. There is no batch or glob form; loop in the caller. - Same jail and denylist rules as
shell::fs::lsfor bothsrcanddst.