# Shell commands can rename workspace directories

> Shell mv and embedded Python os.rename now preserve nested files and empty directories when renaming workspace folders through remote workers.

Source: <https://everruns.com/docs/changelog/2026-10-29-workspace-directory-renames/>

Date: 2026-10-29
Products: Platform, Framework, Cloud
Category: Fix
Available: In 0.50.1; Live on Cloud since October 30, 2026
Pull request: everruns/everruns#5072

[Bashkit Shell](https://everruns.com/docs/capabilities/bashkit-shell/) can rename workspace directories through the server-backed filesystem. Shell `mv` and embedded Python `os.rename` previously failed with a file-not-found error when the source was a directory.

Moving a staged folder now preserves its nested files, empty directories and file identities. The destination must be absent. Readonly trees, protected parents and filesystem mount boundaries remain protected. Custom filesystem backends must opt in to atomic directory moves before these commands can use them.