How do you transfer music from an iPod nano to a mac?

I can see the music on my Mac once I plug in my iPod nano but can't sync to mac or iPad air2. Music was loaded onto the iPod nano from CD's years ago. Thanking everyone in advance for any advice or suggestions. :0)
https://support.apple.com/en-us/HT201593

Original thread: https://forums.imore.com/threads/how-do-you-transfer-music-from-an-ipod-nano-to-a-mac.332560/