
# cp latest from directory $1 having file prefix $2 (if specified)
cp -i $1/`ls -t $1/$2* |head -1` .
