[Veritas-bu] bpexpdate -ev $tapenumber% -d 0 but over and ov er and over again
2003-04-18 12:00:45
Subject: |
[Veritas-bu] bpexpdate -ev $tapenumber% -d 0 but over and ov er and over again |
From: |
Mark.Donaldson AT experianems DOT com (Donaldson, Mark) |
Date: |
Fri, 18 Apr 2003 10:00:45 -0600 |
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C305C3.AC0ADAE0
Content-Type: text/plain;
charset="iso-8859-1"
Nope.
but if you do it a lot you can write a simple looping script:
#!/bin/ksh
for tape in $*
do
echo "Expiring $tape"
bpexpdate -ev $tape -d 0 -force
done
exit
-M
-----Original Message-----
From: Siano, James C [mailto:james.c.siano AT lmco DOT com]
Sent: Friday, April 18, 2003 9:44 AM
To: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: [Veritas-bu] bpexpdate -ev $tapenumber% -d 0 but over and over
and over again
Hello.
I want to expire early a series of tapes in my continuing micromanagement of
NBU tapes....
Is there a way to expire a series of tapes under one command line as opposed
to doing it over and over and over again
./bpexpdate -ev $Tapenumber1 -d 0
something like
./bpexpdate -ev $tapeid1 $tapeid2 $tapeid3 .... -d 0
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
------_=_NextPart_001_01C305C3.AC0ADAE0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Veritas-bu] bpexpdate -ev $tapenumber% -d 0 but over and =
over and over again</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Nope. </FONT>
</P>
<P><FONT SIZE=3D2>but if you do it a lot you can write a simple looping =
script:</FONT>
</P>
<P><FONT SIZE=3D2>#!/bin/ksh</FONT>
<BR><FONT SIZE=3D2>for tape in $*</FONT>
<BR><FONT SIZE=3D2>do</FONT>
<BR><FONT SIZE=3D2> echo "Expiring $tape"</FONT>
<BR><FONT SIZE=3D2> bpexpdate -ev $tape -d 0 -force</FONT>
<BR><FONT SIZE=3D2>done</FONT>
<BR><FONT SIZE=3D2>exit</FONT>
</P>
<P><FONT SIZE=3D2>-M</FONT>
<BR><FONT SIZE=3D2> </FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Siano, James C [<A =
HREF=3D"mailto:james.c.siano AT lmco DOT com">mailto:james.c.siano AT lmco DOT
com</A>=
]</FONT>
<BR><FONT SIZE=3D2>Sent: Friday, April 18, 2003 9:44 AM</FONT>
<BR><FONT SIZE=3D2>To: 'veritas-bu AT mailman.eng.auburn DOT edu'</FONT>
<BR><FONT SIZE=3D2>Subject: [Veritas-bu] bpexpdate -ev $tapenumber% -d =
0 but over and over</FONT>
<BR><FONT SIZE=3D2>and over again</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Hello.</FONT>
</P>
<P><FONT SIZE=3D2>I want to expire early a series of tapes in my =
continuing micromanagement of</FONT>
<BR><FONT SIZE=3D2>NBU tapes....</FONT>
</P>
<P><FONT SIZE=3D2>Is there a way to expire a series of tapes under one =
command line as opposed</FONT>
<BR><FONT SIZE=3D2>to doing it over and over and over again</FONT>
</P>
<P><FONT SIZE=3D2>./bpexpdate -ev $Tapenumber1 -d 0</FONT>
</P>
<P><FONT SIZE=3D2>something like</FONT>
<BR><FONT SIZE=3D2>./bpexpdate -ev $tapeid1 $tapeid2 $tapeid3 .... -d =
0</FONT>
</P>
<BR>
<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Veritas-bu maillist - =
Veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu" =
TARGET=3D"_blank">http://mailman.eng.auburn.edu/mailman/listinfo/veritas=
-bu</A></FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C305C3.AC0ADAE0--
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Veritas-bu] bpexpdate -ev $tapenumber% -d 0 but over and ov er and over again,
Donaldson, Mark <=
|
|
|