Find all directories in the current directory (not including subdirectories) and print the first 8 characters of each directory name, without the carriage return character.
find . -mindepth 1 -maxdepth 1 -type d -exec head -c 8 \{\} \; | tr -d '\015'