Attachment Sweep for Confluence

Find the attachments no page uses, see how much space they take, check with a dry run, then move them to the Confluence trash. Nothing is purged.

Try it on the Atlassian Marketplace Getting started: your first cleanup in four steps

Free for up to 10 users, 30-day free trial for larger sites. Runs entirely on Atlassian. For Confluence Cloud administrators.

Attachment Sweep scan result with the total size of unreferenced attachments and a table of files
Scan results: how many attachments no page uses, and the space they take.

In four lines

  1. The problemConfluence is running out of space, but nobody knows which attachments are safe to delete. The only way to find out is to open pages one by one.
  2. Where it is on screenApps, then Attachment Sweep, then the Scan tab. One result line reads N unreferenced (X total). Site administrators only.
  3. What you doRun a scan. Read the reason on each row. Select the unreferenced files, press Dry run, then move them to the trash.
  4. What you getYou know how much space you can free before anything moves. Moved files sit in the space trash, where a space admin can restore them. The Jobs tab keeps a log.

What you can do

See how much space unused files take

One scan ends with one line: how many attachments no page uses, and their total size. The table lists each file with its page and size, biggest first.

Every file shows why it was flagged

Each row says why: unreferenced, referenced by another page, or a cover picture. Only unreferenced files can be selected, so a file that is in use is never picked by mistake.

Scan results with a Reason column
The Reason column on the scan results.

Dry run first: nothing is deleted

Press Dry run to see how many files would move to the trash and their total size. Nothing is written until you confirm.

Dry run result listing the files that would move
Dry run result with the note that nothing was written.

Moved to the trash, never purged

Files go to the Confluence space trash, where a space administrator can restore them. Each file is checked again right before it moves, and skipped if it changed.

Confirmation dialog for moving attachments to the trash
The confirmation dialog before files move to the trash.

See exactly what moved

The Jobs tab shows how many files were done, failed or skipped, with a log you can open.

Jobs tab with a finished move-to-trash job
A finished job in the Jobs tab.

Good to know before you start

  • Trash, not purge. A moved file can be restored only while it is still in the space trash. If someone purges the trash, the file is gone.
  • A scan limited to one space does not see references from other spaces. Run a site-wide scan if in doubt.
  • Attachments newer than the minimum age (7 days by default) are never listed.
  • A scan result older than 24 hours must be re-run before you can delete from it.
  • Scanning and the dry run work without a license. Creating a delete job needs an active license.

Questions

Is “Move to trash” permanent? Can I undo it?

No, it is not permanent. The app uses Confluence’s normal delete, which moves the attachment to the space trash. It never purges. A space administrator can restore it from the trash. Before anything moves you get a dry run, and every job writes a log.

I can’t find the app in the Apps menu.

Attachment Sweep is shown to site administrators only. It also runs with your own permissions, so attachments in spaces you cannot view are never scanned or listed.

An attachment is listed as unreferenced but it is in use.

The scan reads page and blog post bodies, attachment and gallery macros, and page properties such as cover images. A scan limited to one space does not see references from other spaces, so run a site-wide scan if in doubt. If a result is still wrong, email support@hullspark.com with the page URL and file name.

Does my data leave Atlassian?

No. The app runs on Atlassian and your attachments are not sent to Hullspark. Details are in the privacy policy.

What does it cost?

Free for up to 10 users. Larger sites get a 30-day free trial, and current pricing is on the Marketplace listing.

Try it on the Atlassian Marketplace

Other Hullspark apps

Questions? Support or support@hullspark.com.

Attachment Sweep for Confluence

どのページからも使われていない添付ファイルを見つけ、取っている容量を確かめ、ドライランのあとで Confluence のゴミ箱へ移します。完全削除はしません。

Atlassian Marketplace で試す はじめに: 最初の整理を 4 ステップで

10 ユーザーまで無料、それ以上は 30 日間無料で試せます。すべて Atlassian の中で動きます。Confluence Cloud の管理者向け。

未参照の添付の合計サイズとファイルの表が出た Attachment Sweep の走査結果
走査の結果: どのページも使っていない添付の数と、取っている容量。

4 行でいうと

  1. 困りごとConfluence の容量が足りないのに、どの添付ファイルを消してよいか分かりません。調べるには、ページを 1 つずつ開くしかありません。
  2. 画面のどこApps から Attachment Sweep、Scan タブ。結果の 1 行に N unreferenced (X total) と出ます。サイト管理者のみ。
  3. やること走査します。各行の理由を読み、未参照のファイルを選び、Dry run(ドライラン)を押してから、ゴミ箱へ移します。
  4. 結果何かを動かす前に、空けられる容量が分かります。移したファイルはスペースのゴミ箱に入り、スペース管理者が復元できます。Jobs タブにログが残ります。

できること

使われていないファイルの容量が分かる

1 回の走査の最後に、どのページからも使われていない添付の数と合計サイズが 1 行で出ます。表にはファイルごとにページとサイズが並び、大きい順です。

すべてのファイルに判定の理由がつく

各行に理由が付きます(未参照・他のページから参照・カバー画像)。選べるのは「未参照」だけなので、使われているファイルを間違えて選ぶことはありません。

Reason 列のある走査結果
走査結果の Reason 列。

まずドライラン。何も消えません

Dry run を押すと、ゴミ箱へ移すファイルの数と合計サイズが出ます。確定するまで何も書き込みません。

移す予定のファイルを並べたドライランの結果
ドライランの結果。何も書き込まれていないことが表示されます。

ゴミ箱へ移すだけで、完全削除はしません

ファイルは Confluence のスペースのゴミ箱に入り、スペース管理者が復元できます。移す直前に各ファイルをもう一度確かめ、変わっていれば飛ばします。

添付をゴミ箱へ移す確認ダイアログ
ゴミ箱へ移す前の確認ダイアログ。

何が移ったかが分かる

Jobs タブに、完了・失敗・飛ばした数が出て、ログを開けます。

ゴミ箱へ移すジョブが終わった Jobs タブ
Jobs タブの、終わったジョブ。

始める前に知っておくこと

  • ゴミ箱へ移すだけです。復元できるのは、スペースのゴミ箱に残っている間だけです。ゴミ箱を空にすると、ファイルは戻せません。
  • 1 つのスペースだけの走査では、ほかのスペースからの参照は見えません。迷うときはサイト全体で走査してください。
  • 最小の経過日数(既定 7 日)より新しい添付は、一覧に出ません。
  • 24 時間より古い走査結果からは削除できません。走査をやり直してください。
  • 走査とドライランはライセンスなしでも使えます。削除ジョブの作成には有効なライセンスが要ります。

よくある質問

「ゴミ箱へ移す」は元に戻せますか。

完全削除ではありません。Confluence の通常の削除で、添付ファイルはスペースのゴミ箱に入ります。完全削除(purge)はしません。スペース管理者がゴミ箱から復元できます。移す前にドライランがあり、すべてのジョブにログが残ります。

Apps メニューにアプリが見当たりません。

Attachment Sweep はサイト管理者にだけ表示されます。また、操作はあなたの権限で動くため、見られないスペースの添付は走査も一覧もされません。

使われているのに「未参照」と出ました。

走査は、ページとブログ記事の本文、添付一覧やギャラリーのマクロ、カバー画像などのページプロパティを読みます。1 つのスペースだけの走査では、ほかのスペースからの参照が見えません。迷うときはサイト全体で走査してください。それでも結果が違うときは、ページの URL とファイル名を support@hullspark.com へお送りください。

データは Atlassian の外へ出ますか。

出ません。アプリは Atlassian の中で動き、添付ファイルが Hullspark へ送られることはありません。詳しくはプライバシーポリシーをご覧ください。

料金は。

10 ユーザーまで無料です。それより大きなサイトには 30 日間の無料試用があります。現在の料金は Marketplace の掲載ページをご覧ください。

Atlassian Marketplace で試す

ほかの Hullspark のアプリ

質問は サポートページか support@hullspark.com へ。