2008/6/2 Marieke Thayer <[EMAIL PROTECTED]>:
>
>
>
> This was a general question not related to backing up. Suppose I want
>
> cp -ip filename filename.old
> vi filename
>
> then test and see if something works. Suppose that I don't want to change
> the date on filename.old. I don't think that I should be have to use tar for
> that. I would like to figure out if there is a bug or if I am using cp
> wrong. I am using Kubuntu 8.04 .

OK, if that's what you want to do, then the procedure is:

  mv filename filename.old
  cp filename.old filename

This preserves the old information, and gives you a new copy to work with.

    carl
-- 
 carl lowenstein marine physical lab u.c. san diego
 [EMAIL PROTECTED]

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to