I searched all over the place last night and I couldn’t find anything that could import passwords into Yojimbo for me. I did see a lot of complaining about the lack of ability to do so, however.
Since I really like the app in most ways except for its lame import capabilities, I whipped one up to import my 250+ password entries from a different program.
Get the program: Yojimbo Importer 1
Read on for discussion of how to use it, or else just look at the instructions provided in the download.
How it works
It is a simple Python script that reads a tab-delimited file of your passwords, and loads them into Yojimbo using Applescript. It could be more efficient or flexible, in particular it doesn’t know how to handle passwords with quotes embedded in them, but it is a hack and it works and I’ve never seen anyone else even try to do it.
How to use it
Step 1: Make a tab-delimited file of your passwords, putting the field names in the first line like so:
name account comments password location
example.com Bruce Master login for Example lemonaid23 http://example.com
another.com Bruce use when example is down lemonaid24 http://another.com
Step 2: On the command-line, run the importer as a test first:
$ python yojimbo_passwords.py -t testload.txt
Loading: example.com
tell application "Yojimbo"
make new password item with properties {account: "Bruce", password: "lemonaid23", name: "example.com", comments: "Master login for Example", location: ""}
end tell
Loading: another.com
tell application "Yojimbo"
make new password item with properties {account: "Bruce", password: "lemonaid24", name: "another.com", comments: "use when example is down", location: ""}
end tell
The program will print an error if it can’t understand one of your input lines, so do give it a trial run first on your own password file
Step 3: Backup Yojimbo’s database. To do that, stop Yojimbo, and copy the files in Library/Application Support/Yojimbo to a backup location. Restart Yojimbo, since it needs to be running for the Applescript to work.
Step 4: Run it.
$ python yojimbo_passwords.py yourfile.txt
Done.
Related posts
Related posts:
- Howto Reset The Admin Password in Django I keep needing to do this, darn it! I leave...
- IPython brings joy After my rant yesterday, it is time to share another...
- A Django Killer App – Web Table Data Yet another great use for Django is to make trivial...
- Mac software I use every day In the grand tradition of Daring Fireball I'm going to...
- Lighttpd on Cpanel VPS Working on a new project for a client, I need...
The download link isn’t working for this file, could you fix it?
Thanks!
Fixed it.