Download the MOTU development movies from YouTube

The Ubuntu MOTU team has brought out some video's on YouTube. Want to see geeks tell you about packaging? Here is how to download them all.

Make sure you have youtube-dl:

sudo aptitude install youtube-dl

Save the following script and run it:
#!/bin/bash
# Save this to a file, execute it with "bash fileyousavedto"
ids="JJzM2LNOtWU SAxFpKBG-bU SwTp1YnehoI zKLabbXTqMc ukC2I0hUoIw VyEl3w7SFK4"

for id in $ids; do
  if [ -e ${id}.flv ]; then
    echo "Already downloaded ${id}.flv"
  else
    youtube-dl http://www.youtube.com/watch?v=${id}
  fi
done