#2046 new defect

Add tahoe cp --children-of option

Reported by: markberger Owned by:
Priority: normal Milestone: 1.13.0
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 (8)

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

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).

comment:4 Changed at 2015-05-11T13:30:35Z by daira

  • Milestone changed from soon to 1.11.0

TODO: reconsider whether this is necessary in light of the fixes to #2027 and #2329.

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

Note: See TracTickets for help on using tickets.