[Cialug] Having a "this should work" moment

Tim Champion timchampion at gmail.com
Thu Oct 1 16:23:41 CDT 2009


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

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20091001/817e49d7/attachment.htm 


More information about the Cialug mailing list