Re: [Networker] nsrstage <--mminfo output
2004-06-03 15:48:05
Paula Ehn wrote:
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?
The only case where the header doesn't appear is when there is only one
column, however it's VERY simple with sed to strip the first line:
mminfo -av -r ssid,cloneid -xc/ -q \
'savetime>yesterday,volume=nwdisk.001' | sed 1d
--
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
|
|