handrefa.blogg.se

Dates to ical duplicates
Dates to ical duplicates





Mac 911 cannot reply to email with troubleshooting advice nor can we publish answers to every question. We’re always looking for problems to solve! Email yours including screen captures as appropriate. Readers, have you had this problem? And if so, was it consistent and were you able to fix it? We’ll look forward to more suggestions in the comments. Calendar-sync services are designed to avoid this particular problem, but if you can have all your devices in one place and watch whether this occurs, it might reveal the cause of the problem. You create an event on your Mac, it syncs over iCloud to an iPhone, but when you update the original entry, the iPhone acts as if it created the event in the first place. If you have the same calendars syncing on multiple devices to iCloud or other services, like Google, it’s possible that you’re having a disconnect among them. (Typically, keep everything, and it will sync and merge back when you log back in.) Many users in forums have found this solved duplicate entry problems.Ĭheck your lag across devices.

dates to ical duplicates

Collapse the Groups to make it easier to find the category Select. This is an extreme and irritating move to have to make, because if you’re using iCloud for a number of services and for syncing, you have to answer questions when you log out about what to keep and what to delete. Delete all events in the Holiday category Switch to a List view then arrange by Category. That’s because I’m using BBEdit, and it’s easier just to generate the text file in that.Log out of iCloud on connected devices and back in. You notice that the script reads from a file, but doesn’t write back out. Print 'CALSCALE:GREGORIAN' use dictionary values discard keys Print 'PRODID:-//Apple Computer\, Inc//iCal 1.5//EN' Temp = temp + line vcalendar headers replace if yours are different Id = line # use 'DTSTART' as key id value The_dict = temp # note: overwrites if multiple The_file = open('/Users/john/Library/Calendars/Work.ics') Import sys replace next line with path to calendar Obviously, work on a backup copy of your iCal file. Note: if two different entries have the identical start time and date, one will be overwritten. !/usr/bin/python This script removes duplicate entries from an iCal file, by building a dictionary keyed from the DTSTART value. (I’d be tempted to do it in AppleScript, but I find it slow at handling big text files.) I like Python because it fits my brain, but you could easily translate it to Perl, Ruby or almost anything. But that was a longshot I could live with. This is a little unforgiving if you happened to have “Coffee with Jen” and “Conference call w/ Paul Brown” listed at exactly the same date and time, one would get overwritten. simplest) solution I could come up with was to simply sort the file based on start times, and eliminate duplicates. Unfortunately, events sometimes get imported without the UID’s, which means you can end up with seventeen appointments for picking up the dry cleaning last March. In-between, you see the start and end times (written as 20041210T130000, which means 0 at 1:00 p.m.), a summary of the event, and a UID, which is supposed to keep each entry unique. Each entry starts with “BEGIN:VEVENT” and ends with “END:VEVENT”. If you open up an iCal file in a text editor, you’ll see that it’s actually very simple.

dates to ical duplicates dates to ical duplicates

Just be sure to always work on a backup of the calendar file. With an hour and a little ambition, it should be possible to eliminate duplicates in the same way. UPDATE: Changes with OS 10.4 (Tiger), and specifically iCal 2.0, means that the script as written won’t work anymore. Continue on only if you’re truly geeky, or desperate. In the interest of paying-it-forward to the next guy with the same problem, here’s what I wrote. Multiply that by several years, and the files get huge, and slow: my Work.ics file ballooned to 1.7 megabytes.Īfter searching the internet for a program that would fix this, I finally had to write my own. Calendar events get duplicated, often six or seven times. We both use the built-in publish-and-subscribe feature, so we see the same things on each computer.Īfter doing this for several years, however, some problems have arisen - mostly stemming from syncing with various Palm devices. He maintains “John’s Work” calendar, and I maintain “John’s Personal” calendar. It’s nowhere near as sophisticated as Exchange or a real professional calendar system, but for the most part, it works. My assistant Chad and I use Apple’s iCal to keep track of appointments. This is hugely off-topic, so feel free to skip to the next article, which will likely have something to do with screenwriting and/or filmmaking.







Dates to ical duplicates