#!/bin/bash # we have run import/download-playlist.sh in $PLAYLIST_DIR # we have segmented each video in the playlist # there is a thumbnail for each downloaded video PLAYLIST_DIR="$1" NAME="$2" NAME=$(basename $PLAYLIST_DIR) PAGE_IDX=$(expr 1000 + `ls -l md-pages/playlist-*.md | wc -l`) cat <