cldf / pycldf

python package to read and write CLDF datasets
https://cldf.clld.org
Apache License 2.0
15 stars 7 forks source link

Add functionality to copy a dataset to a directory #143

Closed xrotwang closed 3 years ago

xrotwang commented 3 years ago

In particular with datasets curated via cldfbench it may be desirable to extract "just the CLDF files" for a dataset from the contents of a repository/cldfbench-enabled directory.

A method Dataset.copy(dest), copying sources and data files and metadata to dest (adapting any path references in the metadata) would make that easy.