Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Save disk space when using iTunes and FileVault System
iTunes rewrites two files, iTunes Library and iTunes Music Library.xml, every time a song is played or other changes (like adding a rating) are made to the iTunes library. When you have a large number of tracks, these two files can total anywhere from 50MB to 100 MB. So if you play just 10 tracks, that's up to a gigabyte's worth of data being rewritten.

FileVault won't reclaim this space until logout, so this is potentially a quick way to eat up free space on a volume. One solution is to move the iTunes folder to a different (unencrypted) location, and have an alias from the original Music folder. On my machine, for instance, in my user's Music folder, I have an iTunes alias pointing to /Users -> Shared -> Music -> iTunes. I've been running this for about 6 months with no ill effects.
    •    
  • Currently 2.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)
 
[12,692 views]  

Save disk space when using iTunes and FileVault | 5 comments | Create New Account
Click here to return to the 'Save disk space when using iTunes and FileVault' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Save disk space when using iTunes and FileVault
Authored by: zpjet on Jan 10, '06 08:31:22AM

40 gb of music, podcasts and videos, and still "only" 10 mb each file... no filevault tho'.



[ Reply to This | # ]
Save disk space when using iTunes and FileVault
Authored by: barefootguru on Jan 10, '06 10:21:26AM

The number of tracks is more relevant than the encoded size. I have 16,000 tracks, with the iTunes files being 43 and 35 Megs (respectively).



[ Reply to This | # ]
Save disk space when using iTunes and FileVault
Authored by: david-bo on Jan 11, '06 03:22:53PM

Are you sure it is rewritten after every single song? I thought it was rewritten at quit (and maybe at stop, that is, not pause). Writing tens of MB:s takes some time, especially on laptop drives.

---
http://www.google.com/search?as_q=%22Authored+by%3A+david-bo%22&num=10&hl=en&ie=ISO-8859-1&btnG=



[ Reply to This | # ]
Save disk space when using iTunes and FileVault
Authored by: barefootguru on Jan 12, '06 09:47:07AM

Quite sure.

1. Try watching the iTunes folder as iTunes transitions from one song to another.

Looks like iTunes first creates a temporary iTunes Library file, then deletes the original and renames the temp file. After that the XML file is rewritten.

2. After I'd really loaded my library up I had huge issues with disappearing space, and tracked it down to iTunes. Since moving the iTunes folder out of the FileVault area it's been sweet.

3. If you expect other apps to read the XML data from iTunes, it can't wait until quit or stop. If you want to be safe from crashes you don't want to wait either ;-)



[ Reply to This | # ]
Save disk space when using iTunes and FileVault
Authored by: FFFish on Jan 14, '06 12:48:32AM

Could one not use a folder action? I thought that's the ideal sort of use for it...



[ Reply to This | # ]