John Kodis writes:
( echo -e delete volume=junk-$n; echo yes ) | bconsole
That approach worked.. of course without the -e :-)
Would be nice if one could pass comma separated parameters to commands like
delete volume.
Using Tomcat but need to do more? Need to support web services,
On Fri, Jun 30, 2006 at 07:37:36PM -0400, Francisco Reyes wrote:
Alternatively is there are a way to specify multiple volumes or a
range, for deletion? Tried comma separated and dash.
You could use a shell script to automate the task. Something like:
for n in $(seq 27 42); do
John Kodis writes:
You could use a shell script to automate the task. Something like:
for n in $(seq 27 42); do
echo -e delete volume=junk-$n\nyes | bconsole
done
What does -e does?
That option doesn't exist in FreeBSD.
Just make sure that you've got the range of
On Sat, Jul 01, 2006 at 12:02:45PM -0400, Francisco Reyes wrote:
John Kodis writes:
You could use a shell script to automate the task. Something like:
for n in $(seq 27 42); do
echo -e delete volume=junk-$n\nyes | bconsole
done
What does -e does?
That option doesn't
Is there a way to turn off a warning Yes/No prompt?
Deleting 50 volumes manually and have to answer yes every time...
Alternatively is there are a way to specify multiple volumes or a range, for
deletion? Tried comma separated and dash.
Using Tomcat but need to do more? Need to support web
On 30 Jun 2006 at 19:37, Francisco Reyes wrote:
Is there a way to turn off a warning Yes/No prompt?
Deleting 50 volumes manually and have to answer yes every time...
Try putting yes on the command line:
delete volume label=XYZ yes
or something like that.
--
Dan Langille : Software
Dan Langille writes:
delete volume label=XYZ yes
That brings up the menu prompt...
What I have been using is:
delete volume=volume
Adding 'yes' at the end didn't help. Still got prompted.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with