At 02:14 -0800 28/12/07, Wing Wong wrote: <snip> >for ext in mpg avi wmv mp4 flv >do > find /volumes/400gbdiskl -name *.${ext} -exec mv {} >/volumes/10tbarray/videos/ >done Or just (all on one line) find /volumes/400gbdiskl \( -name \*.mpg -o -name \*.avi -o -name \*.wmv -o -name \*.mp4 -o -name \*. flv \) -exec mv {} /volumes/10tbarray/videos/ \; will do it all on one pass. Note that the '\' before the '*' is neccessary if issued while in any directory containing files with those extensions in either case. David -- David Ledger - Freelance Unix Sysadmin in the UK. HP-UX specialist of hpUG technical user group (www.hpug.org.uk) david.ledger at ivdcs.co.uk www.ivdcs.co.uk