ls -1 | grep '\@' | while read FILE; do cp "$FILE" "shr_${FILE:1}"; done ls -1 | grep '^#' | while read FILE; do cp "$FILE" "ves_${FILE:1}"; done