#!/bin/sh for i in $*; do for k in ocad lcr a3 rcln administration ; do if [ -e "../$k/$i" ]; then cp "$i" "../$k/$i" fi done done