-sec 1

Set interactive timeout to '1' second.

This is not documented in the vmchange manpage, but you can find
information on Google by searching "vmchange sec 1".


-----Original Message-----
From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of fullejn
Sent: Friday, December 18, 2009 2:01 PM
To: VERITAS-BU@MAILMAN.ENG.AUBURN.EDU
Subject: [Veritas-bu] Automating NBU ejects w/vmchange - Solaris


I am currently using this one-liner to eject all tapes from a list. It
works in that I can build a tape list and save me the headache of
entering tape # by tape #, but I still have the aggravation of having to
interact with the command as it prompts me to confirm every eject with a
keystroke.

Does anyone know a way to bypass this so I don't have to sit in front of
the terminal hitting the enter key all day?

for line in $(cat ./1); do vmchange -res -multi_eject -w -verbose -rn 1
-rt tld -rh backup1 -vh backup1 -ml $line; done

+----------------------------------------------------------------------
|This was sent by joshua.n.ful...@lmco.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+----------------------------------------------------------------------


_______________________________________________
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

Reply via email to