AWK: print field to end, and character count?
I originally kept my iTunes music updated from a Windows machine, but recently moved everything to a network storage device so that all my computers have access to the music. Due to Mac's file naming limitations, I need to fix the files that have a name longer than 34 (or is it 31?) characters.
I got the listing for every .mp3 file using...
ls -al /music/iTunes/iTunes Music/*/* | grep .mp3 > itunes
There are two more steps I'd like to take, but getting stuck... Using that itunes file, I want to output everything from the ninth field to the end. Then, I'd also like to add a character count at the end.
|