simple way to clean mail attachment subfolder mess [answered]
currently i have hundrets of mostly empty folders in downloads/mail-attachments
Edit: i do not want to loose all attachments, so delete the mail_attachment root is not an option.
currently it seems i have to delete everything twice: i have to delete mail and its attachment from gallery. but then an empty folder remains. my expectation would be: deleting the mail also deletes the attachments. i have to move the file manually to gallery to make it permanent (which is currently not easy to do, need filebrowser for this)
Agreed. Folders with attachments should be deleted automatically once the corresponding email is deleted.
(BTW, I fixed a typo in your thread title. Hope you don't mind.)
pichlo ( 2015-09-09 12:51:43 +0200 )editIMO best would be to simply prevent this mess by asking the user in a context menu what to do with the attachment when opening it from the mail app.
lakutalo ( 2015-12-31 10:14:11 +0200 )editCannot argue with that. However the default when tapping an attachment should be downloading it to the temp folder and opening it, then deleting it immediately once the user has finished with it.
pichlo ( 2015-12-31 11:06:43 +0200 )edit