[tahoe-lafs-trac-stream] [Tahoe-LAFS] #1892: document what 'tahoe cp' does with trailing slashes

Tahoe-LAFS trac at tahoe-lafs.org
Mon May 11 13:05:28 UTC 2015


#1892: document what 'tahoe cp' does with trailing slashes
-------------------------------+-------------------------------------------
     Reporter:  davidsarah     |      Owner:
         Type:  defect         |     Status:  new
     Priority:  normal         |  Milestone:  1.10.1
    Component:  documentation  |    Version:  1.9.2
   Resolution:                 |   Keywords:  tahoe-cp docs usability paths
Launchpad Bug:                 |
-------------------------------+-------------------------------------------
Changes (by daira):

 * owner:  marlowe =>
 * milestone:  undecided => 1.10.1


Old description:

> The {{{--help}}} text for {{{tahoe cp}}} says:
> {{{
> ... Arguments should probably not have trailing slashes.
> 'tahoe cp' does not behave as much like /bin/cp as you
> would wish, especially with respect to trailing slashes.
> }}}
>
> But this doesn't tell me how {{{tahoe cp}}} behaves with trailing
> slashes, and I also don't know how {{{/bin/cp}}} behaves with trailing
> slashes, so I don't know whether that is the behaviour I would want.
>
> I looked at {{{man cp}}} on Linux to see how it documented {{{cp}}}'s
> behaviour with trailing slashes, and it didn't say, apart from
> documenting this option:
> {{{
>    --strip-trailing-slashes
>           remove any trailing slashes from each SOURCE argument
> }}}

New description:

 The {{{--help}}} text for {{{tahoe cp}}} says:
 {{{
 ... Arguments should probably not have trailing slashes.
 'tahoe cp' does not behave as much like /bin/cp as you
 would wish, especially with respect to trailing slashes.
 }}}

 But this doesn't tell me how {{{tahoe cp}}} behaves with trailing slashes,
 and I also don't know how {{{/bin/cp}}} behaves with trailing slashes, so
 I don't know whether that is the behaviour I would want.

 I looked at {{{man cp}}} on Linux to see how it documented {{{cp}}}'s
 behaviour with trailing slashes, and it didn't say, apart from documenting
 this option:
 {{{
    --strip-trailing-slashes
           remove any trailing slashes from each SOURCE argument
 }}}

--

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1892#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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