#!/bin/bash DEST=~/www/research for each in $(cat filelist) do cp $each $DEST/$each done cd $DEST && ln -s intro.html index.html