Skip to content

file.move fails on directories #59

@JoeStrout

Description

@JoeStrout

When I try to rename a directory using file.move in Mini Micro, it fails, and even reveals the host path. (This is when I've mounted a folder in the host file system; not sure if it also applies to .minidisk files.) Example session:

]dir
/usr :
  .claude                              DIR  2026-04-15 11:40:42
  .git                                 DIR  2026-04-15 21:05:22
  .gitignore                            27  2026-04-15 11:38:46
  agent.ms                            7629  2026-04-16 09:46:36
  api_key.secret                       165  2026-04-15 09:20:30
  instructions.txt                    2979  2026-04-15 14:06:23
  MiniClaw.png                      134458  2026-04-15 21:00:23
  README.md                            942  2026-04-15 21:05:07
  tools.ms                            6636  2026-04-15 13:50:34
  workspace                            DIR  2026-04-16 09:30:20
]file.move "workspace" "wrk"
Compiler Error: got String(wrk) where Comma or EOL is required [line
 1]
]file.move "workspace", "wrk"
Could not find file '/Users/jstrout/svnrepo/miniclaw/workspace'.
]file.info "workspace"
{"path": "/usr/workspace", "isDirectory": 1, "size": 0, "date": "202
6-04-16 09:30:20", "comment": ""}

Not technically a /sys disk problem, but a Mini Micro problem. But this is still the best place to log it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions