[tahoe-lafs-trac-stream] [tahoe-lafs] #1853: "tahoe cp" breaks when files have a : char in their names

tahoe-lafs trac at tahoe-lafs.org
Sun Nov 11 15:08:13 UTC 2012


#1853: "tahoe cp" breaks when files have a : char in their names
-----------------------------------+------------------------------------
     Reporter:  zooko              |      Owner:  davidsarah
         Type:  defect             |     Status:  assigned
     Priority:  normal             |  Milestone:  undecided
    Component:  code-frontend-cli  |    Version:  1.9.2
   Resolution:                     |   Keywords:  usability aliases docs
Launchpad Bug:                     |
-----------------------------------+------------------------------------
Changes (by davidsarah):

 * keywords:  usability aliases => usability aliases docs
 * owner:   => davidsarah
 * status:  new => assigned


Comment:

 Try {{{tahoe cp -r ./* URI:...}}}

 Since aliases cannot contain '{{{/}}}', the '{{{/}}}' before the colon is
 enough to tell Tahoe that the colon does not imply an alias (see
 [source:git/src/allmydata/scripts/common.py#L185]). This "{{{./*}}}" trick
 also ensures that a filename expansion is not misinterpreted as an option
 (works for any Unix command).

 This should be documented in [source:git/docs/frontends/CLI.rst]; will
 fix.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1853#comment:1>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list