From: Brian Warner Date: Fri, 26 Jun 2009 05:16:52 +0000 (-0700) Subject: more 'tahoe cp' docs tweaks X-Git-Tag: trac-4000~59 X-Git-Url: https://git.rkrishnan.org/Site/Content/Exhibitors/index.php?a=commitdiff_plain;h=08effc6499e3241ea2285a9d1aa514d11af26349;p=tahoe-lafs%2Ftahoe-lafs.git more 'tahoe cp' docs tweaks --- 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