[tahoe-dev] CLI mkdir inverse?
Kevin Reid
kpreid at mac.com
Mon May 4 17:00:16 PDT 2009
On May 4, 2009, at 16:08, Brian Warner wrote:
> On Mon, 4 May 2009 09:32:17 -0400
> Ben Hyde <bhyde at pobox.com> wrote:
>
>> That was my first guess; but then I created an alias - letting it
>> do the
>> mkdir for me - and I am unable to rm that alias.
>> ...
>>
>> Hm, now I'm thinking this is, in part, because I created the alias
>> example via 'tahoe create-alias example'; i.e. let it do the mkdir.
>> So there isn't anything to unlink it from.
>
> Bingo. "rm" is used to remove a link: a link from some parent
> directory to
> some child object (a file or a subdirectory). Your top-level alias
> isn't a
> child of anything: the only place that remembers it is your aliases
> table (in
> ~/.tahoe/private/aliases). If you want to forget about it, just edit
> that
> file and remove the line.
Is there any reason 'tahoe rm foo' shouldn't edit the aliases table?
If I understand the model correctly, it would be unambiguous.
--
Kevin Reid <http://homepage.mac.com/kpreid/>
More information about the tahoe-dev
mailing list