#!/bin/sh #set -x for file in `grep ROTATE albumlist.txt` ; do ################################################ fileout=`echo ${file} | cut -f1 -d"|"` rotation=`echo ${file} | cut -f3 -d"|"` cp /d4/TAO/${fileout}* /d4/TAO/tmp done