Download scripts/wget_fetch.sh from Gowtham25/hc-mts-training-data: direct link, hf CLI and curl.
- Browser
- Download file 394 Bytes
-
https://huggingface.co/datasets/Gowtham25/hc-mts-training-data/resolve/main/scripts/wget_fetch.sh
- Command line
-
hf download hf://datasets/Gowtham25/hc-mts-training-data/scripts/wget_fetch.sh
-
curl -L -o wget_fetch.sh https://huggingface.co/datasets/Gowtham25/hc-mts-training-data/resolve/main/scripts/wget_fetch.sh
394 Bytes
| # Resume-friendly wget wrapper used by dataset downloads. | |
| set -euo pipefail | |
| url="$1" | |
| out="$2" | |
| mkdir -p "$(dirname "$out")" | |
| exec wget --continue --tries=20 --timeout=60 --waitretry=5 \ | |
| --retry-connrefused --progress=dot:giga \ | |
| --content-disposition \ | |
| --user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/128.0.0.0 Safari/537.36" \ | |
| -O "$out" "$url" | |