Merging two lists?

I need to know if it is possible to merge two lists using coldfusion.  I have one list uploaded to the site then they want the ability to upload a second list with may have additional fields and/or different number of records.  Need to know if this is possible, how to do it if it is, and how the two list will match up.  Thanks in advance for the help.

Right, well in that case this isn't really anything to do with merging lists per se, hence the confusion I believe. Technically, you'd do this:
<cfset newData = fileOpen("c:\newlist.csv","read") />
<!--- Loop through your file, one line at a time --->
<cfloop condition="NOT fileIsEof(newData)">
  <!--- Create a string of the line, this is a true list --->
  <cfset thisLine = fileReadLine(newData) />
  <!--- Get the elements of the list we want for the query --->
  <cfset thisForename = listGetAt(thisLine,1) />
  <cfset thisSurname = listGetAt(thisLine,2) />
  <!--- Check if this person exists --->
  <cfquery datasource/username/password name="qCheckExists">
    SELECT    id
    FROM      mytable
    WHERE     firstname = <cfqueryparam cfsqltype="cf_sql_varchar" value="#thisForename#" />
    AND       surname = <cfqueryparam cfsqltype="cf_sql_varchar" value="#thisSurname"#" />
  </cfquery>
  <!--- If we found rows, update --->
  <cfif qCheckExists.RECORDCOUNT eq 1 >
    <cfquery datasource/username/password>
        UPDATE   mytable
        SET      forename = <listGetAt,thisLine, FIELD>,
                 surname = <listGetAt,thisLine, FIELD>,
                 address = <listGetAt,thisLine, FIELD>,
                     etc etc etc
        WHERE    id = qCheckExists.id
    </cfquery>
  <cfelseif qCheckExists.RECORDCOUNT >
    <!--- here you found more than one matching row, up to you what to do --->
  <cfelse>
    <!--- here you didn't find a match, so do an insert --->
  </cfif>
</cfloop>
<cfset fileClose(newData) />
That's how you'd do it on a technical level, the Business decisions are yours. What if it's John not Jon? What if it's Jonathan? That's not a programming problem, that's up to you to decide - I'm not sure we can help you there.
O.

Similar Messages

  • How to merge two list

    How do you merge two .xls list that are the same and then remove doubles.
    Thnks in advance.
    Jose

    Jose,
    If you open both Excel documents and, in turn, copy the list and paste into a Numbers document you can detect the duplicates by sorting the list so that identical entries lie next to each other. Then you can search out the duplicate visually, or you can use an expression to help find them.
    If your list is in column A of a table named Data, with the first data in row 2, you can enter this expression in another column:
    =IF(COUNTIF(OFFSET($A$1, 0, 0, ROW()-1), A)=0, "", "Dup")
    Sort on the column with the expression and then select all the rows containing "Dup" and delete them.
    Jerry

  • Merging two SharePoint lists

    Hello !
    I have 2 SharePoint lists for years 2013 and 2014. I want to merge them and then pull the merged list into PowerPivot. I appreciate any help for that. I don't want to have 2 lists in PowerPivot, so I was wondering if there is anyway that I can merge these
    2 SharePoint lists?
    --update--
    I need to have live connection between the lists.  It means I want to have an automated process in place that can merge two lists once I pulled them into PowerPivot without any manual process of merging the lists.

    I don't know what rights you need to do this, but go to each site and do the following instructions:
    Click on Site Actions
    Click Site Settings
    Click Manage All Site Settings
    Under the Site Administration Group, click Content and Structure
    A window comes up that looks like Window's File Manager. You are in the current site, but you can see that you can browser to other sites in your site collection from the left panel.
    Locate the list you want to copy items from and click the name. You will see all the items, or at least in pages of 100.
    Change the paging quantity from 100 to 1000 in the top right, where it says "Show 100".
    Select all the items you want to copy. There's an icon that looks like a stack of papers, to select all items on this page.
    Click Actions in the toolbar, then click "Copy...". A dialog will come up of the current site collection.
    Choose the destination then, click Ok.
    Repeat this until you're done copying all items from the list.
    Be patient while the copy process completes, then switch to the other 49 sites. You cannot copy from one site collection to another. You can copy between
    subsites or sister sites. If you can't see the Content and Structure link in the Site Settings page, use the 12 hive URL: http://sitecollection/_layouts/sitemanager.aspx You'll
    have the items copied in no time without the help of IT/development.
    Courtesy links
    http://stackoverflow.com/questions/17956557/combine-multiple-sharepoint-lists-into-one
    https://www.nothingbutsharepoint.com/2012/05/11/how-to-link-two-lists-and-create-a-combined-view-in-sharepoint-2010-aspx/
    http://sharepoint.stackexchange.com/questions/34198/combining-multiple-lists-into-one
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/bcd2f069-ceec-42df-8989-a03e0cb017f3/to-join-two-sharepoint-list-having-a-common-colomn-without-using-joins?forum=sharepointgeneralprevious
    please 'Propose as answer' if it help you, also vote this as helpful if you like this reply.

  • How to merge alphabetically two lists through a rational solution?

    Have two lists of captions it two languages and need to merge alphabetically, but this solution is very poor.
    (list x)
    Palacio Imperial, Barcelona, 2012
    Cementerio, 2009
    (list y)
    Imperial Palace
    Cemetery
    to obtain:
    Palacio Imperial, Barcelona, 2012
    Imperial Palace
    Cementerio, 2009
    Cemetery
    One method very naive:
    · number the lists
    · convert numbering to text
    · in list y add a constant to sort in order:
    1. Palacio Imperial, Barcelona, 2012
    2. Cementerio, 2009
    1a. Imperial Palace
    2a. Cemetery
    and sort:
    1. Palacio Imperial, Barcelona, 2012
    1a. Imperial Palace
    2. Cementerio, 2009
    2a. Cemetery
    delete the code:
    Palacio Imperial, Barcelona, 2012
    Imperial Palace
    Cementerio, 2009
    Cemetery
    (italics are not required)
    Thanks.

    Camilo,
    Another more original way with QuicKeys! [I love this little soft for a long time!] Only 1 click!
    For it, you need to use a different paragraph style for each list [eg. List1_Style and List2_Style].
    Eg, our list:
    A1
    A2
    A3
    A4
    B1
    B2
    B3
    B4
    Search: (?<=\r)(.+\r)+
    Search format: List1_Style
    Search-Research Windows must be open into ID.
    Shorcut in QuicKeys:
    1rst research
    1/ Click on the button: Search (actived - in blue)
    A2
    A3
    A4
    is selected.
    2/ Cut it (shortcut: Apple+X)
    3/ Down arrow (of the keyboard)
    4/ Copy it
    We obtain:
    A1
    B1
    A2
    A3
    A4
    B2
    B3
    B4
    2nd research
    1/ Click on the button: Search (actived - in blue)
    A3
    A4
    is selected.
    2/ Cut it (shortcut: Apple+X)
    3/ Down arrow (of the keyboard)
    4/ Copy it
    We obtain:
    A1
    B1
    A2
    B2
    A3
    A4
    B3
    B4
    3rd research
    1/ Click on the button: Search (actived - in blue)
    A4
    is selected.
    2/ Cut it (shortcut: Apple+X)
    3/ Down arrow (of the keyboard)
    4/ Copy it
    We obtain:
    A1
    B1
    A2
    B2
    A3
    B3
    A4
    B4
    The research stops automatically.
    The last work (after this test) is to create a loop in QuicKeys to run the steps 1/-2/-3/-4/ as many times as necessary until the end of the process. 

  • Merging two linked lists of integers that are sorted

    hey guys,
    i need to write a method to merge two linked lists of integers that are sorted into ascending order. the results should be a third linked list that is the sorted combination of the original lists.
    can someone help me start this? Basically, the method will be taking in two sorted linked lists of integers and merge them into one big sorted linked list.
    Im just looking to get some algorithm ideas and maybe one or two lines of pseudocode to get me started.
    thanks

    i can't destroy the original lists so im gonna need
    to create a new sorted list. then since both of the
    lists im using are sorted, i'll just have to copy one
    of them into the new list i created. Then i will get
    an item from the unused list and search that node in
    the new copied list and insert in appropriate
    position using the two Nodes...example(prev and
    curr).That can work. I'd probably do it by initializing a new list and compare the first items in each of the original lists, inserting the smaller in my new list and advancing to the next element in the original list from which I took the item, repeating the process until I copied each item from both original lists. Don't forget to take into account that you will reach the end of one list before the other.

  • User defined func: Unavble to merge two arrays in result list

    Hi
    I am trying to merge two arrays on the basis of "FEE" element in the input file;
    Actually there is an Attribute Name and Value pair array coming in the input file which has 5 pairs already(Notification + 100 , oversize + 8 etc.) see example below;
    <m0:Fees>ZB9</m0:Fees>
    <m:Attribute>
      <m0:Attributename>NOTIFICATION</m0:Attributename>
      <m0:Attributevalue>100</m0:Attributevalue>
      </m:Attribute>
    <m:Attribute>
      <m0:Attributename>OVERSIZE</m0:Attributename>
      <m0:Attributevalue>8</m0:Attributevalue>
      </m:Attribute>
    <m:Attribute>
      <m0:Attributename>OVERWEIGHT</m0:Attributename>
      <m0:Attributevalue>108</m0:Attributevalue>
      </m:Attribute>
    <m:Attribute>
      <m0:Attributename>SIGNATURE</m0:Attributename>
      <m0:Attributevalue>294</m0:Attributevalue>
      </m:Attribute>
    <m:Attribute>
      <m0:Attributename>RTS</m0:Attributename>
      <m0:Attributevalue>8</m0:Attributevalue>
      </m:Attribute>
    The condition is:
    CASE 1. If the FEE doesn't exist in the file then only the Atrribute Name and Value in added to the Array
    CASE 2 If FEE exist then add all the Atrribute Name and Value pairs as well as in the last index of Array add String "Fee" in Attributename and String "ZB9" in  Attributevalue.
    CASE 1 is working fine.
    but in CASE 2 even if i m taking an output array of length Attributename +1 and Attributevalue +1 and trying to add "Fee" and "ZB9" respectively, it never happens.
    Please have a look at the code below;
       //write your code here
    public void ud_Attributename(String[] Fees,String[] Attributename,ResultList result,Container container){
              String attribute_copy[]=new String[Attributename.length+1];
              String attribute_name[]=new String[Attributename.length];
              String array_copy1[]=new String[Attributename.length+1];
              //int len =Attributename.length;
              if(Fees[0]!=null)
                   if(Fees[0].equals("ZB0"))
                   Fees[0]="01";
                   else if(Fees[0].equals("ZB5"))
                   Fees[0]="02";
                   else if(Fees[0].equals("ZB6"))
                   Fees[0]="03";
                   else if(Fees[0].equals("ZB9"))
                   Fees[0]="04";
              try{
                   if((Fees[0]=="01")||(Fees[0]=="02")||(Fees[0]=="03")||(Fees[0]=="04"))
                        for(int x=0;x<=Attributename.length;x++)
                             if(x==Attributename.length)
                             array_copy1[x]="Fee";
                             else{
                             array_copy1[x]=Attributename[x];
                             result.addValue(array_copy1[x]);
                   else
                        for(int i=0;i<=len;i++)
                             attribute_name<i>=Attributename[i+1];
                             result.addValue(attribute_name<i>);
              }catch(Exception e)
              {e.printStackTrace();}
    Same way i've used for Attributevalue.
    But the result is
    <ATTRIBUTEPAIR>
    <PAIR>
    <NAME>NOTIFICATION</NAME>
    <VALUE>04</VALUE>
    </PAIR>
    <PAIR>
    <NAME>OVERSIZE</NAME>
    <VALUE>8</VALUE>
    </PAIR>
    <PAIR>
    <NAME>OVERWEIGHT</NAME>
    <VALUE>108</VALUE>
    </PAIR>
    <PAIR>
    <NAME>SIGNATURE</NAME>
    <VALUE>294</VALUE>
    </PAIR>
    <PAIR>
    <NAME>RTS</NAME>
    <VALUE>8</VALUE>
    </PAIR>
    </ATTRIBUTEPAIR>
    Please suggest where i am wrong. ur help is very much appreciated.
    Thnks in advance

    this is i am doing now
       //write your code here
              String attribute_copy[]=new String[Attributename.length+1];
              String attribute_name[]=new String[Attributename.length];
              String attribute_name1[]={"Fee"};
              //String[] Attributename.copyTo(attribute_name1,0);
              //String[] attribute_name1 = (String[]) Attributename.Clone();
              //String fees;
              String array_copy1[]=new String[Attributename.length];
              int len =Attributename.length;
              for(int y=0;y<len;y++){
              array_copy1[y]=Attributename[y];
              if(Fees[0]!=null)
                   if(Fees[0].equals("ZB0"))
                   Fees[0]="01";
                   else if(Fees[0].equals("ZB5"))
                   Fees[0]="02";
                   else if(Fees[0].equals("ZB6"))
                   Fees[0]="03";
                   else if(Fees[0].equals("ZB9"))
                   Fees[0]="04";
                   else if(Fees[0].equals("ZA1"))
                   Fees[0]="05";
                   else if(Fees[0].equals("ZA2"))
                   Fees[0]="06";
              try{
                   if((Fees[0]=="01")||(Fees[0]=="02")||(Fees[0]=="03")||(Fees[0]=="04")||(Fees[0]=="05")||(Fees[0]=="06"))
                        int j=0;
                        for(int a=0;a<=len;a++)
                             if(j==0&&attribute_copy[j]==null)                                   
                                  attribute_copy[j]="Fee";
                             else
                                  //int b=-1;
                                  for(int i=0;i<=len;i++)
                                       if(i==j)
                                       //i=i-1;
                                       attribute_copy[j]=array_copy1[i-1];
                                       break;
                                       else{
                                       continue;}
                        result.addValue(attribute_copy[j]);
                        j+=1;
                   else
                        for(int i=0;i<=len;i++)
                             attribute_name<i>=Attributename[i+1];
                             result.addValue(attribute_name<i>);
              }catch(Exception e)
              {e.printStackTrace();}
    and the result in queue is
    SUPPRESS
    [FEE]
    [NOTIFICATION]
    [NOTIFICATION]
    [OVERSIZE]
    [OVERSIZE]
    [OVERWEIGHT]
    [OVERWEIGHT]
    [SIGNATURE]
    [SIGNATURE]
    [RTS]
    [RTS]
    but in the output i m getting
    <ATTRIBUTEPAIR>
    <REF_HANDLE>0001</REF_HANDLE>
    <PAIR>
    <NAME>Fee</NAME>
    <VALUE>04</VALUE>
    </PAIR>
    <PAIR>
    <NAME>OVERSIZE</NAME>
    <VALUE>8</VALUE>
    </PAIR>
    <PAIR>
    <NAME>OVERWEIGHT</NAME>
    <VALUE>108</VALUE>
    </PAIR>
    <PAIR>
    <NAME>SIGNATURE</NAME>
    <VALUE>294</VALUE>
    </PAIR>
    <PAIR>
    <NAME>RTS</NAME>
    <VALUE>8</VALUE>
    </PAIR>
    </ATTRIBUTEPAIR>
    Notification is missing.

  • How to merge two Apple accounts by migration

    Hello to you all
    My question relates about merging two apple accounts.
    Having two accounts is an issue (for instance when you start setting up Family sharing, or trying to get phone calls on your Mac)
    As we know, merging two accounts is alas (still ?) not possible.
    But it should be possible to address the issue it my migrating data.
    As many people, I have two accounts:
    Account A: [email protected], with all my purchases (iTunes, apps, machines)
    Account B: [email protected], with my calendar, contacts, bookmarks, photos...
    The best possible option seems to keep account A:
    - Transfer the data from B to A
    - Possibly transferring the [email protected] address into A
    - Close B
    About the data transfer:
    - Transferring iCloud documents is easy (using the Finder)
    - Transferring contacts, events bookmarks is also easy as they can be exported (ex .VCF or html)
    - Transferring Notes can be done by moving the notes from the iCloud list to the On my Mac List
    - Transferring Passwords and Photostreams is difficult (No Export solution for KeyChains, No way to transfer ownership of a photo stream)
    - I do not know yet about transferring the iCloud email address [email protected] into the [email protected]
    So my questions are:
    1) Do you have any idea about transferring Passwords in KeyChain from one iCloud account to another ?
    2) Do you have any idea about transferring ownership of a photo stream to one iCloud account to another ?
    3) Do you have any idea about the email address transfer
    4) Do you have any other way to do this ?
    Thanks for your attention
    Kind regards

    The easiest thing to do would be to use an iOS device, such as your iPhone to migrate the data from one account to the other.  You can go to Settings>iCloud on your phone, sign out of account B, choose Keep on My iPhone and provide your password when prompted, then sign back in using ID A to create a new iCloud account and choose Merge when prompted to upload the data.  This will not migrate notes, which as you said, can be dragged and dropped between accounts on your Mac. 
    This will also not move your existing iCloud email account.  You cannot move an iCloud email account to a new iCloud account.  You would either have to switch to the new @icloud.com email account that goes with your new iCloud account, or continue to use the existing email account as a "secondary account"  To do this, you would go to Settings>Mail,Contacts,Calendars>Add Account>iCloud on your iOS devices (and System Preferences>Internet Accounts>iCloud on your Mac), sign back into account B and turn on Mail.  Just be aware that, at least on an iOS device, this would not be push email as push is only supported in the primary iCloud account.
    Photo stream cannot be moved between accounts either, not can it be enabled in a secondary account.  If you want to keep your photo stream photos you'll have to either save them to your device, or add them to a shared album before signing out of the existing account (see http://help.apple.com/icloud/#/mmc0cd7e99).  Another option would be to import them to your iPhoto events, then add them back to your new photo stream using iPhoto when you sign into the new iCloud account on your Mac.
    For iCloud keychain, I believe you can turn it off iCloud keychain and you will be given an option to keep a copy of any saved passwords and credit card information on your device.  Then set up iCloud keychain again once you are signed into your new iCloud account.

  • When I merge two contact records, some of the email addresses vanish

    Most of my contacts have multiple email addresses. When I save a new address from Mail, I often end up with multiple contact records in Address Book for the same person (same name).
    When I Merge Selected Cards to merge two of the records, one of the email addresses is erased completely — which, of course, completely negates the value of being able to merge the records. My guess is that it's because the email addresses are all listed as "Work" email addresses, and Address Book can't handle that concept.
    Does anyone know a way to make the Merge Selected Cards feature actually merge all of the data?Or at least warn me it is about to erase important data?
    Many thanks.

    I don't have a mouse with a right click. But found answer on another support thread that works easily for me.
    Mail keeps track of all your addresses to whom you sent mail before. In Mail, go under Window then Previous Recipients. Type in the address you want to drop and then click on Remove from List.

  • Export to Excel - two lists into 1 Excel table

    Hello SharePoint experts,
    I have two lists with the exact same columns of data. The reason I have two lists is because they each represent a single year of data where the list contains 5,000+ items. We found we had
    to "archive" old year items into a new list, otherwise we were not able to appropriately export to Excel (it wouldn't work) as well as make updates to the InfoPath from when the count was too high.
    These lists are exported into Excel to leverage pivot tables and run metrics based on the data in the lists. I can bring both data connections into the same Excel file, but I am not sure if
    there is a way to merge the lists so I can simply apply a filter to the pivot tables to select the appropriate year.
    Any input is greatly appreciated.
    Mark G.
    MG

    If you have both data connection files, I think you just need to make a join/merge. I think this may help:
    http://office.microsoft.com/en-us/excel-help/combine-data-from-multiple-data-sources-HA103993145.aspx
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Merging two XML Document Objects

    I'm trying to merge two seperate XML Document Objects into one Object.
    Any suggestions would be very much appreciated.
    This is what the Objects look like when returned.
    FIRST:
    <?xml version = '1.0'?>
    <app>
    <name>Home</name>
    <active>true</active>
    <order-as-sibling>1</order-as-sibling>
    </app>
    SECOND:
    <app>
    <name>Developers</name>
    <active>true</active>
    <order-as-sibling>6</order-as-sibling>
    </app>

    That would work nicely if the XML documents had names, but they are coming back as a list in an XML object. I have about 8 separate XML Objects I'd like to merge into one.
    Thanks

  • Joining two lists

    Hi,
    Let's say I have a class Car
    public class Car{
      private int id;
      private String make;
      private String model;
      //getters and setters
    }Now I'm going to some db and fill a List<Car>,
    List<Car> results1 = getCarsFromDB(String someCriteria);and I do the same but this time I'm going to another db,
    List<Car> results2 = getCarsFromAnotherDB(String someCriteria);What I want is to create a list with the two results lists. Using contains method from List doesn't work because the objects are different although the have the same data. Is there a simple way of joining this? (in my example, two objects are equal if they have the same idthanks in advance,
    Manuel Leiria

    ok, I have now an equals and hashCode method in my
    Car but I can't see how the Collections.addAll can
    help me! When joining the two lists in a resultlist,
    at some point I must compare the Car objects. Am I
    wrong?
    thanks,
    Manuel leiriaso if I understand you, you're trying to merge 2
    collections, and avoid duplicates? sounds like a job
    for Sets, then!yes, I've changed my final list to a set. It's better
    thanks,
    Manuel Leiria

  • Merge two History.plist files

    Does anyone know how to merge two Safari History.plist files? I would like to take the history files from two different computers and merge them into one. The files are binary, so I can't just copy/paste the XML like in past .plist files; dragging entries from one to the other doesn't work in Property List Editor; and dragging entries into the History listing in Safari's bookmarks window doesn't work either.
    Message was edited by: Eliot White

    I appreciate your point of view, but to me, merging the history files from two computers would be very helpful. I often need to reference sites I've visited in the past, so for the last several years I have set Safari to only remove history entries manually. I find this more useful than bookmarking because I never know what I might want to reference in the future.
    I've been using two computers for the last year or so, and I am getting rid of one of them, so I would like to take the History.plist files from each computer and merge them into one. Anyone have any ideas?

  • How to merge two address books?

    I am migrating from a G4 with 10.3.9 to a iMac with 10.5. We want to merge the addressbook with another iMac on 10.5 connected via ethernet.
    The addressbooks used to be identical but the one from the G4 has fallen out of date. I would like to merge the two making the current 10.5 one dominate when they have duplicate entries.
    What is the best tool with which to do this?
    I am new to Macs so if there is a documented procedure that would be best. Any and all reference materials on the address book and it's structure would be appreciated.
    Thanks in advance.
    Chuck

    "The duplicates criteria is the email address and nothing else."
    Golden Shores,
    I think your statement solves the problem that I have. No one responded to my post about duplicates, but your statement answers most of the issues.
    First, I would like to trash my current OS X Address Book and start over. Which files should I pull from which folders? I won't really trash them but move them elsewhere as backups.
    I have a Palm address book with 2400 contacts that can be easily exported to vCards. However, very, very few of these contacts include e-mail addresses. I also have an AOL contact (1000 contacts) list that includes First & Last Names and an e-mail address (or two) for each person. I can also export this list to vCards. Most, if not all of the names in the AOL list are also included in the Palm list. Based on what you said, if I merge these two lists, I'll end up with 3400 contacts with everyone from the AOL list being duplicated and Address Book will NOT recognize them as duplicates.
    How can I merge my two lists without having to manually copy the e-mail address from the AOL list and add it the Palm list and then manually deleting the contact from the AOL list?

  • How we can display two list if not using blocked alv ,not scr painter

    how we can display two list if not using blocked alv ,not scr painter

    1. Once the cell number/service on the 3GS is transfered to the 5, the 3S will become basically an iPod touch until a new sim is in place, correct? We can still use wi-fi and the apps on the phone, and still be able to sync to iTunes, correct? iOS has been upgraded to 6.
    1a. With a new Sim, any issue with losing any data/apps on the phone? I dont' think so.
    1. Yes. without a sim it has no service, but all other features should be useable normally.
    1.a Nope, Data and Apps are independent of the Sim.
    2. Once the 5 is activated on the new carrier, how do I share the apps within iTunes? Is it as easy as using iCloud (which we haven't "activated" yet) and/or plugging both phones into iTunes and transferring between devices (authorizing both)? Photos? There are photos on the 3S that we will need on the 5.
    2. As long as both Phones use the same Apple ID, the applications can be synced to each through iTunes. Also any downloads on one phone should appear in the other. Again as long as both phones are using the same Apple ID.
    3. Reverse order for new apps purchased (understand that not all the iphone 5 apps will work on the 3GS)?
    3. If they can be run on the iPhone3GS they should be synced automatically.
    4. My husband also has a new iPad, any complications there with three devices? To date, he has not "shared" apps between his 3S and the iPad. He does not have iCloud set up, but plugs into his computer to backup and transfer photos. 
    4. If all 3 Devices share the same Apple ID all should be synced. 
    As a word of warning, if all 3 devices use the same Apple ID, messages recieved using iMessage will appear on all 3 devices.
    And Conctacts may get overwritten if synced to iCloud (thogh you say he doesn't have one), or merged together.

  • How to merge two iphoto libraries

    How do I merge two Iphoto libraries

    Actually it can be done on the command line.  This will be quite tedious if the library you are transferring is large.
    Log into the computer on which you want the merged library to reside. 
    Then, go to Applications->Utilities, and launch the Terminal.
    At the prompt, cd to the following directory:
    Lydias-MacBook-Pro:~ lydiachet$ cd Pictures/iPhoto\ Library/Auto\ Import
    Now launch an ftp session with the computer where your other library resides:
    Lydias-MacBook-Pro:Auto Import lydiachet$ ftp 192.168.1.36
    Connected to 192.168.1.36.
    220 192.168.1.36 FTP server (tnftpd 20080929) ready.
    Name (192.168.1.36:lydiachet): carolchet
    331 User carolchet accepted, provide password.
    Password:
    230 User carolchet logged in.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    On the remote computer, cd to the Masters directory in the iPhoto library:
    ftp> cd Pictures/iPhoto\ Library/Masters
    The directory tree from here down is listed by year, month and date, so actual directories will vary: in the example I'm looking in a directory from July 21, 2012:
    ftp> cd 2012/07/21
    250 CWD command successful.
    ftp> ls
    229 Entering Extended Passive Mode (|||62595|)
    150 Opening ASCII mode data connection for '/bin/ls'.
    total 0
    drwxr-xr-x  12 carolchet  staff  408 Jul 21 11:29 20120721-112923
    226 Transfer complete.
    Now cd to the only directory found here:
    ftp> cd 20120721-112923
    View the photo files using the ls command:
    ftp> ls
    229 Entering Extended Passive Mode (|||62596|)
    150 Opening ASCII mode data connection for '/bin/ls'.
    total 5
    -rw-------  1 carolchet  staff  231082 Jul 21 11:04 IMG_0035.JPG
    -rw-------  1 carolchet  staff  249389 Jul 21 11:04 IMG_0036.JPG
    -rw-------  1 carolchet  staff  253379 Jul 21 11:04 IMG_0037.JPG
    -rw-------  1 carolchet  staff  270819 Jul 21 11:05 IMG_0038.JPG
    -rw-------  1 carolchet  staff  253501 Jul 21 11:05 IMG_0039.JPG
    -rw-------  1 carolchet  staff  243288 Jul 21 11:05 IMG_0040.JPG
    -rw-------  1 carolchet  staff  248939 Jul 21 11:05 IMG_0041.JPG
    -rw-------  1 carolchet  staff  287363 Jul 21 11:06 IMG_0042.JPG
    -rw-------  1 carolchet  staff  248358 Jul 21 11:07 IMG_0044.JPG
    -rw-------  1 carolchet  staff  268819 Jul 21 11:08 IMG_0045.JPG
    226 Transfer complete.
    ftp>
    from this point you can copy the files to the local computer using mget
    ftp> mget *.JPG
    If you have lots of pictures this will be tedious as you then need to navigate through the diretory trees until you have copied all the photos. 
    Good news is, next time you launch iPhoto on the local computer, it will automatically import all of the new files.

Maybe you are looking for

  • Abap-- urgent

    hi all..         can any one provide me with the links od the site tat provide me with the abap tips on performance tuning in abap,reports, ALV smart forms,IDOC, DDIC objects .. and entire abap.. thnx

  • HT1918 How do I remove credit card information?

    I put in my moms credit card info for one purchase and now I can't get it to go away.

  • Moving music files out of itunes

    Hi, I've finally maxed out my 20GB on my device and once I did, I experienced hard drive problems, with the hard drive whirring and clicking and struggling along. I believe I may have finally solved that problem, but now I'd like to separate out a si

  • Firewall and FTP

    I have failed in using a number of FTP apps. Cyberduck and Fetch will work but only if I turn off the firewall. I have tried toggling passive/active. I presume I must be missing a trick here. Is there a way to use these without switching off the fire

  • Appending a field

    With Append command how to append a new field in the present database table and for that field i have to create the data element also. i already append the field but not able to create the data element . i create predefined dataelement but that i hav