cflammia

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by cflammia

  1. OK. I tried to play with this a bit to see what I could do. For example, I wrote a little script to save a text file containing the SMART info from drive #1 then email this to me. Here's the script: smartctl -a -d ata /dev/sdc | todos >/boot/smart.txt cat /boot/smart.txt | mail --subject 'SMART info Disk1' --rcpt [email protected] When I look at the email I get, the formatting is messed up. It looks like it doesn't print the tabs, so all the columns in the report do not line up and it's hard to read. If I check the text file, it's OK. Is there a way to keep the formatting intact? I tried using todos and not using it but it made no difference. I also tried using "show in fixed width font" in Gmail but that didn't help either. Any suggestions? Thanks Chris
  2. I'm just curious. Why would you want (or need) to use this package instead of brainbone's script or is there a different purpose for this package? I guess with this, you can send emails from any script that has an output? What would be some practical applications of this? Thanks Chris