Teresa,
As others have pointed out, you can use mminfo to do this. A simple script
example would be:
(This assumes you've created a list, called tapelist, of the tape numbers you
want to change)
for i in 'cat tapelist'
do
mmlocate -s nw_server_name -u -n $i "Offiste"
echo "Tape locations cleared"
done
If you want to blank the location as Darren suggested, just change the mmlocate
line to
mmlocate -s nw_server_name -u -n $i " "
That should do what you want.
Joseph Ortiz
DSMCS, Inc.
----- Original Message -----
From: Teresa Biehler <tpbsys AT RIT DOT EDU>
Date: Friday, March 5, 2004 12:07 pm
Subject: [Networker] Changing a tape's location
> Is there a way to change a tape's listed location without using
> the GUI?
> I'd like to be able to do something like this:
>
>
>
> Eject a list of tapes (use nsrjb)
>
> Change location of the list of tapes to offsite (or
> something similar)
>
>
>
> I've looked through the man pages that I thought would be appropriate,
> but all I've found is how to query the location, not change it.
>
>
>
> Thanks.
>
> Teresa
>
>
>
>
>
>
> --
> 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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|