Skip to content

Commit

Permalink
Edited src/src/batch_download.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmikhail committed Feb 25, 2025
1 parent 6d62bbb commit e1a23b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/batch_download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ EOF
download() {
url="$BASE_URL/pdb$1"
out=$2/$1
echo "Downloading $url to $out"
echo -n "Downloading $url to $out"
curl -s -f $url -o $out || echo "Failed to download $url"
}

Expand Down Expand Up @@ -119,7 +119,7 @@ do
progress=$((count * 100 / total))
bar=$(printf "#%.0s" $(seq 1 $((progress / 2))))
spaces=$(printf " %.0s" $(seq 1 $((50 - ${#bar}))))
echo -ne "\r[$bar$spaces] $progress%"
echo -ne "\r[$bar$spaces] $progress% "

done

Expand Down

0 comments on commit e1a23b3

Please sign in to comment.