From c32e90a436be3977bc566109cf92b8d74db35522 Mon Sep 17 00:00:00 2001 From: Cameron Thompson <50184035+iamromulan@users.noreply.github.com> Date: Sun, 25 Aug 2024 22:33:39 -0400 Subject: [PATCH] Update download --- download | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/download b/download index 546fa58..dc016f3 100644 --- a/download +++ b/download @@ -90,10 +90,9 @@ download_github_directory() { # Parse and download each file and directory recursively echo "$contents" | grep '"type": "file"' | sed -n 's|.*"path": "\([^"]*\)".*"download_url": "\([^"]*\)".*|"\1" "\2"|p' | while read -r file_path file_url; do - echo "File Path: $file_path" - echo "Download URL: $file_url" + echo "Processing file: $file_path" file_name=$(basename "$file_path" | tr -d '"') - echo "Calling download: $file_url -> $output_dir/$file_name" + echo "Downloading file from $file_url to $output_dir/$file_name" download "$file_url" "$output_dir/$file_name" done