Charles Curley wrote:

> Why is this failing?

I must admit I didn't even look at your example beyond thinking that it
was overkill ;)

As far as I can see what you are looking for is

cp -u sourcefile destination file

which does exactly what you want with only one commnd!

"man cp" for details.

Hope this helps
Lee
-- 
Lee Willis                                          [EMAIL PROTECTED] 
Application Developer
PlusNet Technologies Ltd                         http://www.plus.net.uk

Reply via email to