In this example we will export all attachments from each record to a folder based on the UNID of the record.
This should be all you need to migrate just the attachments to the UNID of the records folder. You can map any field to the Folder field to get the desired folder name.