Delete extra pdfs from merged docs


It would be great to be able to delete all non primary PDF attachments to references in an automated way. my library - previously imported from zotero - had lots of references with several identical PDFs. this was from the duplicate merge in zotero. similarly, when i imported into paperpile, there were some additional duplicate references that were merged. now i have loads of identical PDFs floating around google drive. my mild OCD would love to see them removed.