Answers.Body: <p>The command line import uses the default unsupervised rule for deducing.  Out of the box that's just email.</p>
  
  <p>When using command line import if the unsupervised dedupe rule says the import line is a duplicate then it will do an update instead of a creating new record.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-13T16:39:33.617Z
Answers.LastActivityDate: 2016-01-13T16:39:33.617Z
Answers.UserDisplayName: Paul-Tahoe
Body: <p>I'm using the command line import, following info provided here:</p>
  
  <p><a href="https://civicrm.stackexchange.com/questions/4723/how-do-i-import-contacts-through-the-command-line">How do I import contacts through the command line?</a></p>
  
  <p><a href="https://forum.civicrm.org/index.php?topic=34033.0" rel="nofollow noreferrer">https://forum.civicrm.org/index.php?topic=34033.0</a></p>
  
  <p>Since I have data that includes address, relationships and membership, I assume I'll have to import in stages.  How do I specify a dedupe (based on email address) command and do updates using the command line?</p>
  
Tags: <import><cli>
Title: Can I specify a dedupe rule and import type (e.g. update) when using command line import
ThreadText: # Can I specify a dedupe rule and import type (e.g. update) when using command line import
  
  (Asked by: username_0 on 2016-01-12)
  
  I'm using the command line import, following info provided here:
  
  [How do I import contacts through the command line?](https://civicrm.stackexchange.com/questions/4723/how-do-i-import-contacts-through-the-command-line)
  
  <https://forum.civicrm.org/index.php?topic=34033.0>
  
  Since I have data that includes address, relationships and membership, I assume I'll have to import in stages. How do I specify a dedupe (based on email address) command and do updates using the command line?
  
  **Tags:** import, cli
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-01-13. Score: 3
  
  The command line import uses the default unsupervised rule for deducing. Out of the box that's just email.
  
  When using command line import if the unsupervised dedupe rule says the import line is a duplicate then it will do an update instead of a creating new record.
  
  
  ---
  
  