Skip to content

Instantly share code, notes, and snippets.

@afeijo
Created April 5, 2023 03:10
Show Gist options
  • Select an option

  • Save afeijo/b765a62fe4776d30a8faa26fc1d10a8a to your computer and use it in GitHub Desktop.

Select an option

Save afeijo/b765a62fe4776d30a8faa26fc1d10a8a to your computer and use it in GitHub Desktop.
Bash script to download random picsum.photos
#/bin/bash
for i in {1..50}
do
echo "Downloading image $i"
wget https://picsum.photos/1024/768 -O "~/Pictures/image $i.png" &> /dev/null &
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment