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