Show a space as a page tree
You want to see the hierarchy of a space or subtree at a glance — parents, children, and depth — before you navigate or reorganize by name.
Use tree for an ASCII page tree. Default depth is 3; pass -L / --maxdepth to change it. This is a visual listing. Folders appear in the tree too. To duplicate a section, use cp -r (max 200 pages; DEST may be in another space). Shell is not a multi-select move UI.
Watch on YouTube: youtu.be/zhWgfwWmI0c
Show the tree
Section titled “Show the tree”$ cd YourSpace$ tree$ tree -L 2$ tree ./Docs$ tree -L 2 ./Docstree -L 2 is a good first look when a space is deep. Combine with ls or find when you need paths for a later named mv / cp (max 100 sources).
treeonly lists.cp -rcopies a tree (max 200 pages), including into another space with-y.- Default depth is 3; use
-L/--maxdepthto widen or narrow. - For moves, name sources or pipe from
find; preview withmv -n. See Reorganize pages.
- Shell for Confluence on Marketplace
- User guide
- Move selected Confluence pages to another parent —
mvafter find by name or last update (max 100) - Find pages not updated recently —
find -mtime(optional-prunebeforemv -n)