Skip to content

Update mbox-extract-attachments.py#5

Open
skiane wants to merge 1 commit into
PabloCastellano:masterfrom
skiane:patch-1
Open

Update mbox-extract-attachments.py#5
skiane wants to merge 1 commit into
PabloCastellano:masterfrom
skiane:patch-1

Conversation

@skiane
Copy link
Copy Markdown

@skiane skiane commented Oct 28, 2016

Changes:

  • use walk() to process all attachments
  • sanitize filenames (remove # or / chars)
  • adjust file atime/mtime to match message date (which makes it easy to find original message related to an attachment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant