struggling with a one liner
Colin Rasor
plug-discuss@lists.plug.phoenix.az.us
Tue, 03 Sep 2002 21:55:03 -0700
Mike,
This doesnąt include MIME but it might get you started.
$database = your database
$emailaddress = your dump email
mysqldump -B $database | mail $emailaddress
On 9/3/02 20:39, "Mike Starke" <meg@lilly.csoft.net> wrote:
> Maybe I'm tired, or maybe ...? Anyhow, I would
> like to come up with a one-liner to run mysqldump
> on a database, then mpack the output to a given email address.
>
> Anyone?
>
> v/r
> Mike
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>
I