Sorry to post twice, but here is the solution is below...
for i in `find . -type d`; do
DIRNAME=`echo $i | sed "s/'/\'/g"`
for f in `ls $DIRNAME`; do
LENGTH=`echo $f | wc -m`
#echo "[$LENGTH] $DIRNAME/$f"
if [ $LENGTH -gt 31 ]; then
echo "[$LENGTH] $DIRNAME/$f"
Now I just need to figure out how to cut-down the long filenames. I know moving it to a new name is the process, but I'm not sure how to get only the first 26 characters of the long name.
"long-ass-file-names-are-not-my-friend.mp3" would be moved to "long-ass-file-names-are-no.mp3"