Bash Script Loop Through Directories