Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help making this into a script

Status
Not open for further replies.

n3tw0rkadm1n1strat0r

IS-IT--Management
Aug 29, 2006
119
US
Ok so I am having trouble making this script work, its for Data Protector, a backup program:

@echo off

for slot in `omnimm -list_pool IDB | \
grep "Library Name" | \
cut -f 2 -d: | \
cut -f 1 -d"]" `
do
omnimm -eject "Library Name" $slot


I'm not really good with the for statements but I have the basic layout there...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top