On Thu, 2008-07-24 at 18:25 +0200, Raphaël Pinson wrote:

> Well as I am thinking of how "mv" would work, it would actually make
> sense to have it be a combination of a cp and a rm, since it could be
> useful to have a "cp" command to duplicate a node. And since "rm"
> already exists, I guess it wouldn't be hard to code rm as a sequence
> of "cp" and "rm".
>  
> What do you think?

I would probably still implement them separately, simply because 'mv'
doesn't need to involve a potentially costly tree copy. It shouldn't be
too hard, and mostly only involve code in augeas.c in case you want to
take a crack at it.

David


_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to