eawag-rdm / resup

Batch upload and download of resources to and from data package in CKAN.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

strange directory structures with flag tar

scheidan opened this issue · comments

This resup put --tar PACKAGENAME apath/to/my/data/ results in a tar consisting of all data stored localy at apath/to/my/data/. However, the data within the tar are hidden in the directory apath/to/my/data/, which doesn't make sense.

I will strip the leading path to the main data directory in the next release. Until then the simple workaround is to cd into the top data-directory (data in your example) and call resup from there.