merge two files
Hi Guys,
Im trying to create a backup mailserver for some cpanel servers.
This involves a file on backup server (/etc/secondarymx) containing the contents of a file (/etc/localdomains) from each other server wishing to use it.
I can copy the "localdomains" file over to the backup server which is fine but how do I merge the file contents to the "secondarymx" file without creating duplicate data.
The files are just domain lists with line breaks i.e.
domain1
domain2
domain3...
Thanks,
Paul
Last edited by Paul_R; 11-04-2005 at 03:45 AM.
|