[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2329: cp -r stops with an exception
Tahoe-LAFS
trac at tahoe-lafs.org
Thu Jan 22 18:34:08 UTC 2015
#2329: cp -r stops with an exception
-------------------------+-------------------------------------------------
Reporter: zooko | Owner: warner
Type: defect | Status: assigned
Priority: major | Milestone: 1.10.1
Component: code- | Version: 1.10.0
frontend-cli | Keywords: regression tahoe-cp review-needed
Resolution: | easy release-blocker
Launchpad Bug: |
-------------------------+-------------------------------------------------
Comment (by nejucomo):
I'm convinced globbing is too complicated if it evolves towards emulating
bash. The key feature I was interested in comment:16 was an explicit
consistent way to disambiguate between container and contents.
So this could also be a ``--contents`` flag, or another non-globby-looking
symbol, such as the presence of a trailing slash (which I believe warner
suggested elsewhere).
Examples:
* tahoe cp -r "$X" dest/ # Copy the bag $X to dest/$NAME if $X has a name,
otherwise fail with an error.
* tahoe cp -r "$X/" dest/ # Copy the contents of $X into ./dest (the name
of $X is irrelevant).
Note that this can be orthogonal to whether or not dest/ exists.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2329#comment:19>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list