[Cialug] Having a "this should work" moment

Tim Champion timchampion at gmail.com
Thu Oct 1 16:36:56 CDT 2009


That didn't work.  I did get it to supress the output anyway by adding:
-l --logfile /root/backups/smb.log
to the end.

It doesn't seem to use the logfile, but at least it doesn't dump anything to
the screen.  I'll keep on googling until I find something that works.

Tim Champion
timchampion at gmail.com


On Thu, Oct 1, 2009 at 4:26 PM, Dave Weis <djweis at internetsolver.com> wrote:

>
> It's probably writing to stderr instead of stdout. You need to change
> the last > smb.log to 2>&1 smblog.txt I believe
>
> Tim Champion wrote:
> > I have the following line in a backup script:
> > cat smb.actions | smbclient //192.168.0.100/micads
> > <http://192.168.0.100/micads> -A /root/backups/smb.connect > smb.log
> >
> > Everything works wonderfully, except that the output is still going to
> > the screen instead of smb.log. It will "touch" the file smb.log and make
> > it have a new timestamp, but the file is empty.
> >
> > Tim Champion
> > timchampion at gmail.com <mailto:timchampion at gmail.com>
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > http://cialug.org/mailman/listinfo/cialug
>
>
>
>
> --
> Dave Weis
> 515-224-9229
> djweis at internetsolver.com
> http://www.internetsolver.com/
> Please check out our Complete Support Service
> http://www.internetsolver.com/completesupport/
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20091001/63d374e3/attachment.htm 


More information about the Cialug mailing list