Networker

Re: [Networker] nsrstage <--mminfo output

2004-06-03 11:33:56
Subject: Re: [Networker] nsrstage <--mminfo output
From: "Willeat, Todd" <TWilleat AT MHP.SMHS DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Thu, 3 Jun 2004 10:36:09 -0500
Use the tail command:

mminfo -av -r ssid,cloneid -xc/ -q 'savetime>yesterday,volume=nwdisk.001' |
tail +2

-----Original Message-----
From: Paula Ehn [mailto:pehn AT CC.UMANITOBA DOT CA]
Sent: Thursday, June 03, 2004 10:21 AM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: [Networker] nsrstage <--mminfo output


Hi gang!

I'm looking at switching from tape to tape cloning to Disk Backup and
staging.

I figured out most of what I need but is there a way to supress the header
line that is generated by mminfo when making a specific query?

For instance if I use the following:

mminfo -av -r ssid,cloneid -xc/ -q 'savetime>yesterday,volume=nwdisk.001'

The first line that appears is:

ssid/cloneid

Must I resort to a small script to write the output of the mminfo command to
a
file, then strip off the first line in the file before giving the file to
the
nsrstage command?

Thanks!
Paula
 -----------------------------------------------------------------
| Paula Ehn  VE4MHZ/VE4HZ                    Room 624 Eng.        |
| Unix System Administrator                  pehn AT cc.umanitoba DOT ca |
| Academic Computing and Networking          (204)474-7849        |
| University of Manitoba                     Fax: (204) 474-7920  |
 -----------------------------------------------------------------

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>