Want to use iTunes Match or Apple Music but have too many songs? Here's how to create a sub-library to use with the service.

Until iOS 9 and OS X El Capitan arrive in the fall, users are limited to just 25,000 non-purchased-from-iTunes songs in their iCloud Music Library. If you have more local tracks than that, though, don't panic: You can still use iCloud Music Library. Here's how to go about doing it.

You need a second iTunes library

Just like you can have multiple Photos or Aperture libraries, you can also create multiple iTunes libraries and store different tracks in each one.

If you want to use Apple Music or iTunes Match but have too many songs, you can create a second iTunes library and link only the tracks you want to that library. Better yet, iTunes allows track aliasing, so you don't need double the storage space for two libraries.

How to create a second iTunes Library on your Mac

  1. Quit iTunes on your Mac.
  2. Re-open iTunes and hold down the option key.
  3. In the Choose iTunes Library screen, select Create Library.

  4. Name your new iTunes Library "iCloud-Music-Library" or something equally catchy.
  5. Turn on iCloud Music Library.
  6. Go to iTunes > Preferences > Advanced and un-check the "Copy files to iTunes Media folder when adding to library" box.
  7. In the Finder, go to the menu bar and Go > Home, then select the Music folder.
  8. Find your original iTunes library folder and click on it, then select iTunes Media > Music.
  9. Highlight the artists you want to add to your secondary iTunes Library, then drag their folders into iTunes.

  10. Repeat until you've moved the all the songs you want to your secondary iTunes library.

After you've done this, these songs should upload to iCloud Music Library. After they've done so, you can quit iTunes and relaunch it with the option key held down to return to your original full-features iTunes library.

Any questions?

Did this work okay for you? Any questions about making a secondary iTunes library? Sound off in the comments.