#! /bin/sh for n in 01 02 03 04 05 06 07 08 09 10 11 do cp -p ../../pdf4/icd${n}.pdf lecture_${n}.pdf cp -p ../../pdf/icd${n}_summary.pdf lecture_${n}_summary.pdf done