A Logo

Feel free to include my content in your page via my
RSS feed

Help Irongeek.com pay for
bandwidth and research equipment:

Subscribestar or Patreon

Search Irongeek.com:

Affiliates:
Irongeek Button
Social-engineer-training Button

Help Irongeek.com pay for bandwidth and research equipment:

paypalpixle


Manual Page - getattach.pl(1)


Manual Reference Pages  - getattach.pl (1)

NAME

getattach.pl - Utility to retrieve attachments from a mailbox

CONTENTS

Synopsis
Description
Options
Examples
See Also
Bugs
Todo
Author
Last Update

SYNOPSIS

getattach.pl [-h|--help] [-m|--mbox=mailboxfile] [-b|--basedir=path] [-d|--display] [--install] [-v|--verbose] [--version]

DESCRIPTION

getattach.pl is a Perl script which can be used to retrieve all email attachments and save them in a destination directory. This is useful, for instance, if you recieve several image files as attachments in your email directories.

getattach.pl redirects warnings and error messages to the file. errlog.txt which is created in the current directory.

OPTIONS

-h or --help
  Display helpful syntax information.
-m or --mbox
  Select mailbox to scan for email attachments.
-b or --basedir
  Path to save attachments to.
-d or --display
  Display text messages to standard output.
-v or --verbose
  Display message header information to standard output.
--version
  Display current version of getattach.pl
--install
  [Not implemented yet] Install required CPAN modules. Must be run as root.

EXAMPLES

getattach.pl -m ~/mailbox -b ~/images
  Get all email attachments from mailbox file mailbox in the users home directory and save them to the images directory in the users home directory.
getattach.pl -m ~/evolution/local/Inbox/mbox -b ~/attachments
  Get all email from the evolution mail folder 'Inbox' and save them in the attachments directory in the users home directory.

SEE ALSO

Mail::Box(3), Date::Manip(3)

BUGS

Some strange behavior seen in dependent modules. Will debug these shortly.

TODO

Finish implementing GUI frontend for getattach.pl.
Add more error handling code.
Integration with evolution and/or other mail clients.
Automatic module installation.
 

AUTHOR

Michael A. Uman <muman@softwaremagic.net>

LAST UPDATE

$Date: 2003/10/09 07:44:32 $
Top of page | 


Release 1.3 getattach.pl (1) October 9, 2003

Generated by manServer 1.07 from /usr/local/man/man1/getattach.pl.1 using man macros.

Printable version of this article

15 most recent posts on Irongeek.com:


If you would like to republish one of the articles from this site on your webpage or print journal please contact IronGeek.

Copyright 2020, IronGeek
Louisville / Kentuckiana Information Security Enthusiast