[tahoe-dev] How to use non-default NODEDIR with Tahoe CLI?

Andrej Falout andrej at falout.org
Tue Feb 3 02:44:12 UTC 2009

Thanks Brian,

does not seem to work here:

andrej at polar:~> tahoe ls --node-directory ~/.tahoe-allmydata.com
Traceback (most recent call last):
  File "/usr/local/bin/tahoe", line 8, in <module>
    load_entry_point('allmydata-tahoe==1.2.0-r3465', 'console_scripts',
line 91, in run
    rc = runner(sys.argv[1:])
line 78, in runner
    rc = cli.dispatch[command](so)
line 294, in list
    rc = tahoe_ls.list(options)
line 18, in list
    rootcap, path = get_alias(aliases, where, DEFAULT_ALIAS)
line 137, in get_alias
    return aliases[default], path
KeyError: 'tahoe'
andrej at polar:~>

Thank you for your help.

On Tue, Feb 3, 2009 at 1:16 PM, Brian Warner <warner-tahoe at allmydata.com>wrote:

> On Tue, 3 Feb 2009 12:55:23 +1100
> Andrej Falout <andrej at falout.org> wrote:
> > tahoe ls /home/andrej/.tahoe-allmydata.com
> For vdrive-manipulating commands (ls, get, put, cp, mv, rm), the syntax is:
>  tahoe ls --node-directory ~/.tahoe-allmydata.com
> To list some specific virtual directory, it would be:
>  tahoe ls --node-directory ~/.tahoe-allmydata.com SUBDIR
> Try "tahoe ls --help" for details. I'd be glad to accept a patch to CLI.txt
> that adds a brief section on using alternate node directories.
> cheers,
>  -Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20090203/1fd2caba/attachment.html>

More information about the tahoe-dev mailing list