Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

.tmp files in ~/Library/Calendars/Calendar Sync Changes?

Hi,


I noticed recently that huge numbers of .tmp files in:


~/Library/Calendars/Calendar Sync Changes?


were getting backed up. They have names like D2AAF5C6-0C3A-449E-8A59-0D8FBA29AA28.tmp. Last night when I looked in that folder, there were almost 370,000 of these files. While I have deleted them (it took a long time!) and have not noticed any adverse affects in iCal, I am noticing that something is generating 7 or 8 of these files every hour. Since last night, there are 118 of these files in there. Here is that the contents of one of these files looks like:


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>deleted</key>

<dict>

<key>com.apple.calendars.AudioAlarm</key>

<array>

<string>Alarm/p14689</string>

</array>

</dict>

<key>modified</key>

<dict>

<key>com.apple.calendars.AudioAlarm</key>

<array>

<string>Alarm/p14696</string>

</array>

<key>com.apple.calendars.Event</key>

<array>

<string>Event/p14508</string>

</array>

<key>com.apple.ical.calendars.DotMacPublisher</key>

<array>

<string>Publication/p1</string>

</array>

</dict>

</dict>

</plist>



I don't recall seeing this before (I am running OS X 10.7.3). Does anyone know what might be causing these files to be generated and what I can do to stop them from being generated? Finally, I should add that iCal feels much faster since deleting these numerous tmp files.


Thank you.

2.66 GHz MacBook Pro (Core i7), 8GB RAM, Mac OS X (10.7), 16GB iPhone 4, Mac mini HTPC, 2TB Time Capsule, 64GB iPad

Posted on Feb 29, 2012 1:51 PM

Reply
18 replies

Mar 27, 2012 6:15 AM in response to G. L. Gray

I have the same problem. As I use iCloud I did the following to see if it helped: a) stopped iCloud syncing (deleting the local calendars), b) threw away the ~/Library/Calendars folder and c) started up iCloud syncing again. I now have all the calendars back, but the Calendar Sync Changes folder has already started filling up again. By looking at the dates of these temporary files, they date back to Feb. 2, which I think is the same date as I updated to Mac OS X 10.7.3. My guess is that it came with that update. Hopefully Apple will submit a fix shortly.

Mar 27, 2012 7:07 AM in response to edsjo

I am really surprised that no one else is commenting on this. As I said, 370,000 files in that folder was an insane number. Since my original post, I have created an iCal alarm with Automator that deletes these files every night and I have not seen any ill effects as a result of doing so. As you say, I hope Apple fixes this soon.

Mar 27, 2012 8:57 AM in response to G. L. Gray

I've also had the same problem.

I only noticed it because my Super Duper backup kept hanging.

I ran all sorts of disk scans in case the HD was faulty, but noticed a Disk Warrier log stating I had more than 100,000 files in the Calendar Sync Changes folder.

When I looked I had more than 1.5 MILLION!

It took me a few hours to delete using Terminal and I too now have an Automator Workflow set up to delete them

I noticed when I opened iCal that it generated about 30 .tmp files every minute that it was open, nothing when I shut it down.

Hopefully this will get fixed but maybe Apple don't even know about it?

May 12, 2012 5:48 PM in response to Jonnygreen65

I also have this problem with about 15 users out of 30 on our network. I'm on 10.6.8 with home directories on an xserve. I have to clear about 50,000 files a week as it also creates a slow network.


There seems to be a problem with iCal not deleting the tmp files after a refresh of each calendar. I have created a new user account and the problem still exists.


I hope someone out there can tell us why this is happening.

May 14, 2012 7:22 AM in response to G. L. Gray

Today I remembered to check the total space occupied by my .tmp files in “~/Library/Calendars/Calendar Sync Changes” and, to my surprise and delight, they are all gone! The command “find ~/Library/Calendars/Calendar\ Sync\ Changes -name '*.tmp'” returned absolutely nothing and the said directory is completely empty. Maybe it was fixed by the recent 10.7.4 update? Has anyone else observed the same phenomenon? Thank you all!

May 14, 2012 9:29 AM in response to jgmarcel

I created an Automator event in iCal that would move all those *tmp files to the trash every night at a certain time. I added a Growl notification to tell me when it happened. Last night, I happened to be at the machine when this occurred and I looked in the trash to find that nothing had been moved there. So, to answer your question, I think this has been fixed in 10.7.4.

Jan 31, 2013 12:13 PM in response to G. L. Gray

Holy mackeral! I stumbled upon this thread while searching for cause for my marathon Time Machine backups. The log files indicated some 88K-92K files were being backed up, and I had no idea where they were. Now that I've excluded ~/Library/Calendars/Calendar Sync Changes from my TM backups all is well again. I'm syncing with Google calendars, so I suspect that's messing something up. I like the brute force method of emptying the directory daily.


10.6.8

.tmp files in ~/Library/Calendars/Calendar Sync Changes?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.