Why not do

 mysqldump > $(date +"%b-%-d")-dump.sql

alex

On Mon, Aug 25, 2003 at 10:47:41PM +0000, Voytek Eymont wrote:
> I'm trying to dump data into a date-named file as in:
> 
> mysqldump > %dd%-%mm%-dump.sql
> 
> so far I made an alias for today, but, supect I might not be
> heading in the right direction with it, so any pointers appreciated:
> 
> # alias today='date +"%b-%-d"'
> 
> 
> 
> 
> Voytek Eymont
> 
> -- 
> SLUG - Sydney Linux User's Group - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
> 

Attachment: pgp00000.pgp
Description: PGP signature

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to