Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # How to migrate from dashlane to 1password
- One does not simply export passwords from dashlane and expect them to be imported into 1password.
- But with some DIY attitude it can be done:
- 1. Export the Dashlane vault as CSV into a file, e.g. `DashlanePrivate.csv`
- 2. Remove all non-password entries (cards, identities, passports, etc.).
- 3. Create the migration script:
- ```
- cat > migrate.awk <<EOF
- {
- title = $1
- website = $2
- password = $6
- notes = $7
- if ($3 == "\"\"")
- username = $4;
- else
- username = $3;
- print title "," website "," username "," password "," notes
- }
- EOF
- ```
- 4. Running it:
- ```
- > awk -F "," -f migrate.awk DashlanePrivate.csv > DashlanePrivateMigrated.csv
- ```
- Import `DashlanePrivateMigrated.csv` using 1password "import from dashlane" option.
- ## Testing
- Test file:
- ```
- cat > DashlaneTest.csv <<EOF
- "title","website","username","login2","login3","password","notes"
- "site1","site1.se","user1","","","password1",""
- "site2","site2.nu","","user2@gmail.com","","password2","note2"
- "site3","site3.io","user3","","secondary3","password3",""
- "site4","site4.gx","user4","user4@gmail.com","","password4","note4"
- EOF
- ```
- Running the test
- ```
- > awk -F "," -f migrate.awk DashlaneTest.csv > DashlaneTestMigrated.csv
- ```
- Verify `DashlaneTestMigrated.csv` by manual inspection.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement