#!/bin/bash # pfad=/usr laenge=255 for f in $(find $pfad -name "*"); do length=` echo ${#f}` if [ $length -gt $laenge ]; then echo $f "laenge " $length fi done