If you have a space with confidential attachments, you can create a full/custom space export without attachments. 

  1. Go to Space ToolsContent Tools
  2. Click on Export and choose XML Export, click Next
  3. Choose Full or Custom export, click Export
  4. After the process has finished, download the archive
  5. Unarchive it, go to Attachments folder and delete all files in the subfolders (without deleting the subfolders themselves)
  6. ZIP the Attachments folder and two XML files (entities.xml and exportDescriptor.properties) into archive
    1. If you are on macOS, please make sure to use the Terminal command/third-party app to create archives without systems hidden files (such as .DS_Store). Terminal command:

      zip -r archive.zip directory -x "*/\.DS_Store"
      CODE