Last active
          October 27, 2017 09:42 
        
      - 
      
 - 
        
Save mhansen/561e12770a95466258bb9f7975888651 to your computer and use it in GitHub Desktop.  
    Converts from KeepassX exported CSV to 1Password CSV
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import pandas | |
| f = pandas.read_csv("keepass_export.csv") | |
| f = f[f["Group"] != "Root/Recycle Bin"] | |
| f2 = pandas.DataFrame() | |
| f2["title"] = f["Title"] | |
| f2["website"] = f["URL"] | |
| f2["username"] = f["Username"] | |
| f2["password"] = f["Password"] | |
| f2["notes"] = f["Notes"] | |
| f2.to_csv("1pw_import.csv", index=False, header=False) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment