Even better, you can simply use the Finder. That is, it's simple if you want all of your music files to be unlocked. Search for all music files in your home folder, select all of them at once, open a Get Info window (and be
patient ), then choose to unlock them (and be +very patient+ ).
Here's some more details and what I did to test this. I opened a Finder window and selected my Music folder, because I let iTunes manage my music and so iTunes keeps everything in there. I then used
Command-F to start a search. I didn't type anything in the search field, so it doesn't matter whether "
Contents" or "*File Name*" is selected, but the default search location is "*This Mac*" so I changed that to "
Music". There is a default search condition of "
Kind" set to "
Any", so I changed the "
Any" to "
Music" and a listing of files appeared. I left the type of music set to "
All".
I skimmed through the listing and it seemed to have a few other things, and then I realized I also had a GarageBand folder in the Music folder. If you just want the iTunes music, then you'll want to be sure to select the "
iTunes" folder in your Music folder. Somehow I overlooked that the first time. 🙂
Anyways, I then clicked on one of the items in the search results and then used
Command-A to select all of them, which can be found in the Edit menu. I used
Command-I to open an info window, though this command can be found in the File menu as "*Get Info*". Because there were so many items selected at once, only one info window opened instead of thousands of info windows, thankfully. 🙂
At that point, it was simply a matter of selecting the "
Locked" checkbox. If some of your items are already locked, but not all of them, you'll see a dash in the checkbox indicating they aren't all the same. Selecting the checkbox will replace that dash with a check and lock them all, and then selecting again will remove the check and unlock all of them. This may take some time if you have thousands of files, so you might want to switch to another app and do other things while you wait.
As such, click the checkbox +only once+ and then wait a bit, or wait maybe a couple of moments. While the checkbox will change immediately to indicate you've selected it, the task will take much, much longer. Unfortunately there is no window or progress bar to indicate anything is happening when locking and unlocking files. However, as it's trying to complete the task you'll notice the mouse pointer will eventually change to a wait cursor after a couple of moments. Once that has happened, switch to another application you've already opened and do something else if you want. Or maybe read a book.
When you're in another app and if you leave the mouse cursor hovering over the Desktop or the info window, the cursor will become the wait cursor to let you know the other app is still busy. It doesn't mean you can't use the app you are currently using. Instead, this is helpful so you don't have to switch to the Finder to see if it's done yet.
Hmm, having said all of that, I realize I left out the possibility of searching for music files that are locked. I did try adding another search condition with the plus button on the far right of the first search condition. I chose "
Other" and searched for "
lock" and "
locked" but didn't come up with anything useful. So, it doesn't seem possible to find only locked or only unlocked files.