[tahoe-lafs-trac-stream] [tahoe-lafs] #712: tahoe cp flattens directories
tahoe-lafs
trac at tahoe-lafs.org
Sat Aug 3 00:37:09 UTC 2013
#712: tahoe cp flattens directories
------------------------------+--------------------------------------------
Reporter: zooko | Owner: daira
Type: defect | Status: assigned
Priority: major | Milestone: 1.11.0
Component: code- | Version: 1.4.1
frontend-cli | Keywords: tahoe-cp usability test-needed
Resolution: |
Launchpad Bug: |
------------------------------+--------------------------------------------
Changes (by daira):
* keywords: tahoe-cp usability recursive test-needed => tahoe-cp usability
test-needed
Comment:
Wildcards are indeed expanded by the Unix shell. I don't think that's the
problem, though; the problem is that {{{tahoe cp}}} is doing the wrong
thing with individual source arguments that are directories. Compare with
{{{Unix cp}}}:
{{{
$ mkdir foo
$ mkdir bar
$ cp foo bar
cp: omitting directory `foo'
$ ls
bar foo
$ cp -R foo bar
$ ls bar
foo
}}}
I.e. {{{cp -R foo bar}}} should create a copy of {{{foo}}} itself, not the
children of {{{foo}}}, under {{{bar}}}. (It doesn't matter whether or not
{{{foo}}} is specified with a trailing slash.)
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/712#comment:9>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list