Skip to content

Instantly share code, notes, and snippets.

@terrywang
Last active May 19, 2021 15:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save terrywang/4ec5c76464b8c307b2c2 to your computer and use it in GitHub Desktop.
Save terrywang/4ec5c76464b8c307b2c2 to your computer and use it in GitHub Desktop.
Vimcasts screencasts download bash one-liner - please support Drew Neil if possible e.g. buy Practical Vim ;-D
for (( i=1; i<=76; i++ )); do file=$(curl -s http://media.vimcasts.org/videos/$i/ | grep m4v | awk '{ print $5 }' | cut -d'>' -f2 | cut -d'<' -f1); url=http://media.vimcasts.org/videos/$i/$file; echo $url; wget -c -S -O "$c-$file" "$url"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment