Kaggle / Kaggle/kaggle-cli

Downloading datasets with --unzip flag results in duplicated files

Open
#303 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
7.5k
Forks
1.4k
Avg merge
3d 15h
Merged PRs (30d)
11

Description

I was downloading the following dataset: https://www.kaggle.com/ramirobentes/flights-in-brazil.

By running:
```
mkdir -p data/flights-in-brazil
kaggle d download -p data/flights-in-brazil/ --unzip amirobentes/flights-in-brazil
```
The final result is:
```
$ tree
.
├── data
│   └── flights-in-brazil
│   ├── BrFlights2
│   │   └── BrFlights2.csv
│   └── BrFlights2.csv
```
Both files have the same md5sum indicating that they are actually the same file. Is this expected? Shouldn't just one of them be present?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.