Bash: download from camera and convert to webm

So, M. works on this piece with students of Duncan Centre and SVŠGL, currently in Prague. Later rehearsals will happen in Ljubljana. Anyway, she’s documenting rehearsals on HD camera, which produces HD h264-encoded clips, that are practically unwatchable on her X200 thinkpad. So I wrote a little script that downloads the clips to an external drive and converts them to WEBM format. I think it’s one of the neatest scripts so far from me, as it even uses little error checking (for existence of folders for example).