Pget
Overview
Use pget for fast, parallel downloads and optional in‑memory tar extraction. Prefer it over curl/wget for large files or batch downloads.
Quick start
- •Single file:
pget <url> <dest> - •Extract tar after download:
pget <url> <dest> -x - •Multi-file manifest:
pget multifile <manifest-path>(or-for stdin)
Tasks
1) Download a single large file quickly
- •Choose destination path.
- •Run:
bash
pget <url> <dest>
- •Tune if needed:
- •
--concurrency <n>to change chunk parallelism - •
--chunk-size 125M(or other size) - •
--retries <n> - •
--forceto overwrite
- •
2) Download and extract a tar archive
Use when the URL points to a .tar, .tar.gz, or similar.
bash
pget <url> <dest> -x
This extracts in‑memory without writing the tar to disk first.
3) Download many files with a manifest
- •Create a manifest with
URL+ space +DESTper line. - •Run:
bash
pget multifile /path/to/manifest.txt # or cat manifest.txt | pget multifile -
- •Tune:
- •
--max-concurrent-files <n> - •
--max-conn-per-host <n>
- •
Notes & pitfalls
- •Use
--forceif the destination exists and you need overwrite. - •
--connect-timeoutaccepts duration (e.g.,10s). - •
--log-level debugor--verbosefor troubleshooting.
References
- •Load
references/pget.mdfor full option list and examples.