Shell for Confluence Cloud
Command-line (CLI) console for cleanup: find stale or outdated pages, page tree, bulk move or copy up to 100 across spaces. Cloud 3.11.0.
Marketplace listing: Shell for Confluence (Stale Pages, Page Tree, Bulk Move)
Confluence CLI console: find stale or outdated pages with find -mtime (no Premium Inactive pages needed for that search), see the page tree, label, archive, bulk move or copy up to 100 pages (also across spaces), and export lists as CSV.
New in Cloud 3.11.0
Section titled “New in Cloud 3.11.0”chmodapplies multiple modes in a safe order (read add, update add, update remove, read remove); clearer hints when Confluence rejects a restriction change — Confluence now requires view (read) for edit (update), and you must keep yourself in the restriction.
New in Cloud 3.10.0
Section titled “New in Cloud 3.10.0”- Help text clarified for piped cross-space moves:
find … | mv -y DEST(the whole batch needs-y; preview with-n);find … | cp DESTcopies across spaces without-y.
New in Cloud 3.9.0
Section titled “New in Cloud 3.9.0”- Cross-space
mv/cp/cp -r— move or copy pages into another space. A cross-spacemvneeds-y/--yesand moves descendants with the page;-npreviews it.mv·cp
New in Cloud 3.8.0
Section titled “New in Cloud 3.8.0”- Bulk labels —
label add/label rmon up to 100 pages, orfind … | label add needs-review -y; list them withfind -label. Recipe - Archive stale pages —
find -mtime +730 -prune | archive -nsends pages to Confluence native archive (Standard plan or above; one page at a time; max 100). Recipe - Attachment cleanup —
du -hsums attachment sizes per page;attach find -size +10M -lslists large or old files; pipe intoattach rm -n(trash only). Recipe - Copy a page tree —
cp -rcopies a page and its children, with attachments and labels (max 200 pages). Recipe find -ls/find --format csv— export search results with id, version, owner, last update, title, path, and URL.rmseveral pages — named paths, globs, orfind … | rm -n(trash only; max 100).- Confluence folders —
ls,cd,find,tree,du, andattach findsee folders. Folder listings come from Confluence search, so a just-created or just-moved folder can take a moment to appear.mv,cp,rm,archive,label,chmod, andtouchrefuse folder paths. - Quoted paths fixed —
'./Name',"./Name", and./Name\ with\ spacesnow resolve as relative paths. Details
Same Forge permissions as before — no new scopes. Full syntax: command reference.