๋ณธ๋ฌธ์œผ๋กœ ๊ฑด๋„ˆ๋›ฐ๊ธฐ
ๅฐ้พ™่™พๅฐ้พ™่™พAI
๐Ÿค–

Pget

Parallel file download and optional tar extraction using the pget CLI (single URL or multifile manifest). Use when you need highโ€‘throughput downloads from HTTP(S)/S3/GCS, want to split a large file into chunks for speed, or want to download and extract a .tar/.tar.gz in one step.

ไธ‹่ฝฝ1.2k
ๆ˜Ÿๆ ‡0
็‰ˆๆœฌ1.0.0
่ฅ้”€ๆŽจๅนฟ
ๅฎ‰ๅ…จ้€š่ฟ‡

ๆŠ€่ƒฝ่ฏดๆ˜Ž


name: pget description: Parallel file download and optional tar extraction using the pget CLI (single URL or multifile manifest). Use when you need highโ€‘throughput downloads from HTTP(S)/S3/GCS, want to split a large file into chunks for speed, or want to download and extract a .tar/.tar.gz in one step.

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

  1. Choose destination path.
  2. Run:
    pget <url> <dest>
    
  3. Tune if needed:
    • --concurrency <n> to change chunk parallelism
    • --chunk-size 125M (or other size)
    • --retries <n>
    • --force to overwrite

2) Download and extract a tar archive

Use when the URL points to a .tar, .tar.gz, or similar.

pget <url> <dest> -x

This extracts inโ€‘memory without writing the tar to disk first.

3) Download many files with a manifest

  1. Create a manifest with URL + space + DEST per line.
  2. Run:
    pget multifile /path/to/manifest.txt
    # or
    cat manifest.txt | pget multifile -
    
  3. Tune:
    • --max-concurrent-files <n>
    • --max-conn-per-host <n>

Notes & pitfalls

  • Use --force if the destination exists and you need overwrite.
  • --connect-timeout accepts duration (e.g., 10s).
  • --log-level debug or --verbose for troubleshooting.

References

  • Load references/pget.md for full option list and examples.

ๅฆ‚ไฝ•ไฝฟ็”จใ€ŒPgetใ€๏ผŸ

  1. ๆ‰“ๅผ€ๅฐ้พ™่™พAI๏ผˆWeb ๆˆ– iOS App๏ผ‰
  2. ็‚นๅ‡ปไธŠๆ–นใ€Œ็ซ‹ๅณไฝฟ็”จใ€ๆŒ‰้’ฎ๏ผŒๆˆ–ๅœจๅฏน่ฏๆก†ไธญ่พ“ๅ…ฅไปปๅŠกๆ่ฟฐ
  3. ๅฐ้พ™่™พAI ไผš่‡ชๅŠจๅŒน้…ๅนถ่ฐƒ็”จใ€ŒPgetใ€ๆŠ€่ƒฝๅฎŒๆˆไปปๅŠก
  4. ็ป“ๆžœๅณๆ—ถๅ‘ˆ็Žฐ๏ผŒๆ”ฏๆŒ็ปง็ปญๅฏน่ฏไผ˜ๅŒ–

็›ธๅ…ณๆŠ€่ƒฝ