lkl tools: support multiple copy sources in cptofs #298
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This should address #296. I wasn't quite sure how best to represent the multiplicity of arguments in the usage documentation.
Also, I almost want to be able to group
(src*, dest)
pairs. So I can say "copy source X, Y, Z to dest A, and copy source P, Q, R to dest B" in one go. I wasn't sure how best to design the command-line interface to do that though. Code-wise it should be pretty easy if we can figure that out, but this does some of the job.Edit: perhaps it might make sense to have
cptofs
accept a simple file of instructions (some trivially parseable format) that tells it what to copy where. Either way, that's work for another PR.This change is