How do I move Confluence pages from a command line?
Shell for Confluence is a free bash-like console in the space. The mapping is site root (/), then spaces (including personal spaces), then pages.
Can I move several pages at once?
Section titled “Can I move several pages at once?”Yes, with multiple sources in one mv command, in the same space:
$ mv pageA pageB pageC destParentSuccessful moves are kept if another source fails. There is no glob / wildcard bulk mv, and no multi-select for 50–100 filtered pages. Native “move entire tree” and REST ancestor updates are separate from this app.
Are personal spaces included?
Section titled “Are personal spaces included?”Yes. Root ls and Tab completion list personal spaces as well as global spaces. Archived spaces are omitted. cd into a personal space by name, the same as any other space.
Can I list, delete, or rename attachments?
Section titled “Can I list, delete, or rename attachments?”No. Attachment commands are not available.
What commands are available?
Section titled “What commands are available?”Navigation: ls, ls -l, cd, pwd. Organize: mv, cp, rm / del, touch / mkdir. Inspect and process text: cat, open, echo, head, tail, grep. Help: help, help <command>. Pipes: ls | grep …, cat path | head. Themes: theme.
User guide: /shell-for-confluence-cloud/guide-for-users/