[Cialug] Having a "this should work" moment
Paul Gray
gray at cs.uni.edu
Thu Oct 1 16:42:09 CDT 2009
Tim Champion wrote:
> 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 wrote:
> > I have the following line in a backup script:
> > cat smb.actions | smbclient //192.168.0.100/micads -A /root/backups/smb.connect > smb.log
Try:
cat smb.actions | smbclient //192.168.0.100/micads -A\
/root/backups/smb.connect 2>&1 > smb.log
--
Paul Gray -o)
314 East Gym, Dept. of Computer Science /\\
University of Northern Iowa _\_V
Message void if penguin violated ... Don't mess with the penguin
No one says, "Hey, I can't read that ASCII attachment ya sent me."
More information about the Cialug
mailing list