#2046 new defect

Add tahoe cp --children-of option — at Version 5

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)

Currently tahoe cp -r only copies a directory's children, and not the directory itself. This is inconsistent with cp, and ticket #712 addresses that issue.

However, once #712 is fixed, there will be 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 (5)

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)
Note: See TracTickets for help on using tickets.