Opened at 2013-08-06T15:43:31Z
Last modified at 2021-03-30T18:40:19Z
#2046 new defect
Add tahoe cp --children-of option
Reported by: | markberger | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | soon |
Component: | code-frontend-cli | Version: | 1.10.0 |
Keywords: | tahoe-cp usability | Cc: | |
Launchpad Bug: |
Description (last modified by daira)
In Tahoe-LAFS v1.10.0, tahoe cp -r used to only copy a directory's children, and not the directory itself. This was inconsistent with cp, and ticket #712 fixed that issue.
However, now that #712 is fixed, there is no way to copy the children of a directory on the grid without also copying the parent. This ticket proposes a new --children-of option that would mimic the (incorrect) behavior of tahoe cp -r as of Tahoe-LAFS v1.10.0.
Change History (10)
comment:1 Changed at 2013-08-06T15:43:48Z by markberger
- Summary changed from Add tahoe cp --children-of options to Add tahoe cp --children-of option
comment:2 Changed at 2013-08-07T01:08:42Z by daira
- Description modified (diff)
comment:3 Changed at 2013-08-07T01:12:35Z by daira
comment:4 Changed at 2015-05-11T13:30:35Z by daira
- Milestone changed from soon to 1.11.0
comment:5 Changed at 2015-05-11T13:31:39Z by daira
- Description modified (diff)
comment:6 Changed at 2015-05-11T13:33:04Z by daira
- Description modified (diff)
comment:7 Changed at 2016-03-22T05:02:52Z by warner
- Milestone changed from 1.11.0 to 1.12.0
Milestone renamed
comment:8 Changed at 2016-06-28T18:20:37Z by warner
- Milestone changed from 1.12.0 to 1.13.0
moving most tickets from 1.12 to 1.13 so we can release 1.12 with magic-folders
comment:9 Changed at 2020-06-30T14:45:13Z by exarkun
- Milestone changed from 1.13.0 to 1.15.0
Moving open issues out of closed milestones.
comment:10 Changed at 2021-03-30T18:40:19Z by meejah
- Milestone changed from 1.15.0 to soon
Ticket retargeted after milestone closed
I think --children-of should require all of its arguments to be directories. The behaviour when there are children of the same name in multiple argument directories should also be well-defined (either an error, or last-argument-wins would be reasonable choices).