Re: [CentOS] help with script

2007-11-05 Thread Les Mikesell
Mark Snyder wrote: I am doing a md5sum to verify nightly transfer of files between servers and want to email the results to support. 1st suggestion: use rsync to transfer the files and you don't have to double-check the results, just the exit status of the command or its stderr output. It

Re: [CentOS] help with script

2007-11-05 Thread Garrick Staples
On Mon, Nov 05, 2007 at 09:42:57AM -0600, Mark Snyder alleged: > > > Garrick Staples wrote: > >On Fri, Nov 02, 2007 at 04:39:32PM -0600, Mark Snyder alleged: > >>I am doing a md5sum to verify nightly transfer of files between servers > >>and want to email the results to support. > >> > >>Everyth

Re: [CentOS] help with script

2007-11-05 Thread Mark Snyder
Mark Snyder wrote: Garrick Staples wrote: On Fri, Nov 02, 2007 at 04:39:32PM -0600, Mark Snyder alleged: I am doing a md5sum to verify nightly transfer of files between servers and want to email the results to support. Everything works fine except reading the contents of the check file i

Re: [CentOS] help with script

2007-11-05 Thread Mark Snyder
Garrick Staples wrote: On Fri, Nov 02, 2007 at 04:39:32PM -0600, Mark Snyder alleged: I am doing a md5sum to verify nightly transfer of files between servers and want to email the results to support. Everything works fine except reading the contents of the check file into mail. Any sugges

Re: [CentOS] help with script

2007-11-02 Thread Garrick Staples
On Fri, Nov 02, 2007 at 04:39:32PM -0600, Mark Snyder alleged: > I am doing a md5sum to verify nightly transfer of files between servers and > want to email the results to support. > > Everything works fine except reading the contents of the check file into > mail. > > Any suggestions or help w