1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist/tools/dlcache
2020-10-30 13:13:40 +01:00
..
dlcache.sh dist/tools: Use /usr/bin/env bash for bash scripts 2020-10-30 13:13:40 +01:00
README.md dist/tools: add dlcache.sh 2017-06-17 17:00:55 +02:00

Introduction

This script aims to cache http(s)-downloads

How it works

  • if a file with the right name and md5 exists, nothing happens
  • if a file with the right name and md5 is in cache, use that
  • if a file with the right name but wrong md5 is in cache, redownload download to cache
  • after download, check md5, then copy to target