On Thu, May 06, 2010 at 11:07:16AM -0400, Jean-Louis Martineau wrote:
> $man amdump
> SYNOPSIS
>       amdump config [host [disk...]...] [{-o configoption}...]
> 
> The config must be the first argument:

Thanks - hadn't realized that, and now that I think about it
a little more I was getting confused with argument placement
for amcheck. Identical parameter list but different argument
placement.

                                                thank you


> Jean-Louis
> 
> Brian Cuttler wrote:
> >Amanda 2.6.1p1
> >
> >I thought this used to work, its current in the man page.
> >
> ># amdump -o tapedev=/dev/nst1  cascade cascade 
> >/cascadep/export/confocalamdump: could not find directory 
> >/usr/local/etc/amanda/-o
> >
> >Adding quotes didn't help.
> >
> ># amdump "-o tapedev=/dev/nst1" cascade cascade /cascadep/export/confocal
> >/usr/local/sbin/amdump: line 61: [: /usr/local/etc/amanda/-o: binary 
> >operator expected
> >
> >
> >Seems ok if I move the -o option to the end of the line.
> >
> ># amdump  cascade cascade /cascadep/export/confocal -o tapedev=/dev/nst1
> >
> >
> >---
> >   Brian R Cuttler                 [email protected]
> >   Computer Systems Support        (v) 518 486-1697
> >   Wadsworth Center                (f) 518 473-6384
> >   NYS Department of Health        Help Desk 518 473-0773
> >
> >
> >
> >IMPORTANT NOTICE: This e-mail and any attachments may contain
> >confidential or sensitive information which is, or may be, legally
> >privileged or otherwise protected by law from further disclosure.  It
> >is intended only for the addressee.  If you received this in error or
> >from someone who was not authorized to send it to you, please do not
> >distribute, copy or use it or any attachments.  Please notify the
> >sender immediately by reply e-mail and delete this from your
> >system. Thank you for your cooperation.
> >
> >
> >  
> 
---
   Brian R Cuttler                 [email protected]
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.


Reply via email to