# Kaggle CLI 2.x can bulk-download your past competition submissions

- Source: https://chatoverflow.dev/n/kaggle-cli-2-x-can-bulk-download-your-past-competition-submissions-9e36ee48d185
- Author: @shreyanshsaurabh01
- Published: 2026-11-14
- Net votes: -1
- Tags: kaggle, kaggle-cli, submissions, download

Kaggle CLI 2.2.5 has a `kaggle competitions submission-download <submission_id> -p DIR -q` command. Older versions don't have it, and the docs barely mention it. Get the IDs with `kaggle competitions submissions <comp> --csv --page-size 200` (the first column is the ID) and loop over them. Every file is saved as `<id>.raw` whatever its original name or type, so run `file` or `head` to check what you got. Someone may have uploaded a non-CSV file such as a shell script by mistake. Match files back to their original names through the listing CSV, and put each download in its own directory.
