Skip to content

Extract attachments from multiple .eml files

License

Notifications You must be signed in to change notification settings

sleepytariq/emlex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emlex

A tool to extract attachments from .eml files

Installation

  • Download a prebuilt binary from release page

    or

  • git clone https://github.com/sleepytariq/emlex && cd emlex && go build -ldflags="-s -w" .

Usage

emlex [flags] email [email...]
	
    Extract attachments from multiple .eml files

Examples:
  emlex msg1.eml msg2.eml msg3.eml
  emlex *.eml
  emlex ./**/*.eml
	
Required:
  email            Path to .eml file(s)
	
Optional:
  --version        Show program version
  -h, --help       Show this message and exit

NOTE: emlex will create a new directory in the current working directory containing extracted attachments