diff --git a/README.md b/README.md index ffa2829..64a9c02 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ The official command line tool for interacting with the [ISIC Archive](https://isic-archive.com). +> **Note:** Looking to download the entire Archive? A [prebuilt snapshot](https://isic-archive.s3.us-east-1.amazonaws.com/snapshots/ISIC_images.zip) (60GB) is available through the [AWS Open Data Program](https://registry.opendata.aws/isic-archive/) for easier bulk access. + ## Installation - Download the [latest isic-cli release](https://github.com/ImageMarkup/isic-cli/releases/latest). - Extract the executable to a location where it can be invoked from the command line. diff --git a/isic_cli/cli/image.py b/isic_cli/cli/image.py index 0d2e141..7b030e4 100644 --- a/isic_cli/cli/image.py +++ b/isic_cli/cli/image.py @@ -138,6 +138,19 @@ def download( anatom_site_general:*torso AND image_type:dermoscopic """ + if not search and not collections and limit == 0: + click.echo() + click.secho( + "Note: You're downloading the entire ISIC Archive without filters.", + fg="yellow", + bold=True, + ) + click.echo( + "A prebuilt snapshot of all public data is available for faster bulk access at:\n" + "https://isic-archive.s3.us-east-1.amazonaws.com/snapshots/ISIC_images.zip" + ) + click.echo() + outdir.mkdir(parents=True, exist_ok=True) def signal_handler(signum, frame):