Using KeePassX natively you can only open one file at a time but if you need to have two open at the same time you can create a command file to do it. In Applications/Utilities/Terminal:
- Navigate to the directory containing your password file e.g. cd Passwords
- Create and edit a .command file to open the file in a new instance of the application:
vi OpenFile1.command - Press i to start input then type:
#!/bin/bash
open -n /Applications/KeePassX.app [path from user folder and file name].kdb &
Note: -n flag opens a new instance, & kills the Terminal window. To make the window exit you need to select "Close if the shell exited cleanly" from Terminal, Preferences, Settings, Shell tab/button, "When the shell exits". - Save and exit the file by pressing: Esc :wq
- Make the script executable: chmod +x OpenFile1.command
No comments:
Post a Comment