Best option for exporting attachments on a page?

It definitely does for me, but only when the attachment is used. Is your use case related to attachments attached to a page but not used in any content ?