repos/scripts

Simple scripts that I made for my personal computer to map keys, make bluetooth work, brightness keys, etc.
Commits Files Refs README LICENSE
nasa_img_downloader (8 lines)
   1 #!/bin/sh
   2 
   3 # downloads a list of images given as input
   4 
   5 [ -z "$1" ] && exit 1
   6 
   7 while read line; do url="$line"; imgname=$(echo "$url" | cut -d "/" -f 12); \
   8     curl -# $url > $imgname; echo "\nDownloading: $imgname"; done < $1