- select the playlist
- menu: [File][Export...]
(system will open a dialog titled "Save: iTunes") - set the 'save as' filename to "myPlaylist.txt" (optional-- but it makes the example easier)
- set format to "Plain Text"
- press [Save]
- open the terminal
- cd to the directory where it was saved (I think default is Documents)
- here's the magic: (enter it all on one line)
awk 'BEGIN {RS="\r"; FS="\t"; OFS="\t"} {print $1, $2 }' myPlaylist.txt
or
awk 'BEGIN {RS="\r"; FS="\t"; OFS="\t"} {print $1, $2 }' myPlaylist.txt > cleanedPlaylist.txt
Friday, December 29, 2006
how to process an exported playlist
this is the no XML, no AppleScript method
Subscribe to:
Post Comments (Atom)
1 comment:
i love this. so handy!
i dont know who the hell needs the playlist exported in teh way that itunes does it now.
Post a Comment