I hate duplicate music files when using UPnP. It happens because I bought some music in iTunes as .m4a
and need to convert it to .mp3
to use it on different players. So a cleanup of my library was neccessary, but how to do it?
- Identify m4a files.
- Convert it to mp3 (with iTunes).
- Move m4a to another location outside iTunes library .
- Remove invalid references in iTunes (because of the move).
Here is how to do on a Win 7 machine:
- Use terminal to list files in a text file:
1.2 Navigate to your music folder and then
for /r %M in (*.m4a) do @echo "%~nxM", "%~zM", "%~dpM" >> filelist.txt
1 - Identify files to convert and convert it in íTunes to mp3
- Move
.m4a
(terminal, first navigate to your music folder and then)
forfiles /S /M *.m4a /C "cmd /c move @file C:\TARGET"
2 - see http://paulmayne.org/blog/2007/11/how-to-remove-broken-or-dead-tracks-from-itunes/ how to do this
References
1 http://superuser.com/a/458184/2913672 http://superuser.com/a/458178/291367