Random tips: - You can use find in one command, rather then loop over the file extensions find . -type f ! -name '*thumb*' \( -iname '*.tif' -o -iname '*.jpg' -o -iname '*.jpeg' -o -name '*.orf' -o -name '*.nef' \)
- Might be a good idea to set IFS to '\0', combined with find's -print0 argument, or set IFS to $'\n'. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html