From 08effc6499e3241ea2285a9d1aa514d11af26349 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 25 Jun 2009 22:16:52 -0700 Subject: [PATCH] more 'tahoe cp' docs tweaks --- src/allmydata/scripts/cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/allmydata/scripts/cli.py b/src/allmydata/scripts/cli.py index 1163690b..b1aa6b15 100644 --- a/src/allmydata/scripts/cli.py +++ b/src/allmydata/scripts/cli.py @@ -194,6 +194,10 @@ class CpOptions(VDriveOptions): tahoe cp ~/Pictures home:stuff/my-pictures # copies directory recursively + You can also use a dircap as either FROM or TO: + + tahoe cp URI:DIR2-RO:j74uhg25nwdpjpacl6rkat2yhm:kav7ijeft5h7r7rxdp5bgtlt3viv32yabqajkrdykozia5544jqa/wiki.html ./ # copy Zooko's wiki page to a local file + This command still has some limitations: symlinks, special files (device nodes, named pipes), and non-ASCII filenames are not handled very well. Arguments should probably not have trailing slashes. 'tahoe cp' does not -- 2.45.2