On Tue, 2005-03-08 at 17:13 -0500, Jon LaBadie wrote:
> On Tue, Mar 08, 2005 at 10:09:04PM +0100, Erik P. Olsen wrote:
> > Is it possible to use todays date as element in a filename in an exclude
> > list?
>
> You can have multiple exclude statements, IIRC, at most one can omit the
> "append" argument. Given that, you could have one exclude statement
> read a file created at the start of your amdump run with an appropriate
> pattern.
>
> echo "./###$(date +%Y%m$d)###" > /path/to/exclude/pattern/of/the/day/file
> amdump ....
>
> Replace the ###'s with whatever constant or filename pattern you need
> and the date command with whatever syntax your date string needs demand.
>
> Then your dumptype might have something like
>
> exclude list append optional /path/to/exclude/pattern/of/the/day/file
>
> The path could be absolute or relative to the root of the DLE.
Beautiful!
Thanks a lot.
--
Regards,
Erik P. Olsen
|