Full threadgarrettlarson·I had to change the IFS=' ' declaration to get this to work on my system (ls appears to use newline as a delimiter). Cool script.View on HN