Re: [Networker] List last FULL using mminfo
2009-09-25 04:39:35
Nelson, Allan wrote:
> Can someone with more knowledge of mminfo than me (not hard) tell me if
> there's a way to just list the last 'FULL' backup info for a client.
>
> For example...
>
> mminfo -q 'client=xyz, level=full' -r 'client, savetime, ssid'
>
> will list me ALL the full's of client xyz. I just want the latest one and
> was curious if there's a way to do that just with mminfo without resorting to
> more scripting to remove the other entries it returns.
No mminfo can't do this on its own, but if you order it by time (-ot)
switch you can then pipe it into tail to get the last one.
mminfo -q 'client=xyz, level=full' -r 'client, savetime, ssid' -ot | tail -1
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|