Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
spinoza
3 years agoDedicated Contributor
How to convert-all-http-links-to-https?
Reopening this old thread, because the feature has not been implemented.
https://1password.community/discussion/92530/convert-all-http-links-to-https
Has anyone here tried writing an AppleScrip...
spinoza
3 years agoDedicated Contributor
Here's the same answer, with a bit more detail:
Let's go into more detail for each method:
1. Manual Method
Detailed Steps:
Backup Data:
- Open 1Password.
- Go to
File > Backupto create a backup of your data.
Export Data:
- Go to
File > Export > All Items.... - Choose the CSV format and save the file to a secure location.
- Go to
Edit CSV:
- Open the CSV file in a text editor like Sublime Text or a spreadsheet program like Microsoft Excel.
Find and Replace:
- Use the find and replace function (
Ctrl + HorCmd + H) to replace all instances ofhttp://withhttps://.
- Use the find and replace function (
Import Data:
- Open 1Password.
- Go to
File > Importand select the modified CSV file.
Citation:
2. Using 1Password CLI
Detailed Steps:
Install CLI:
- Download the 1Password CLI and follow the installation instructions.
Authenticate:
- Open Terminal and run
op signin my.1password.comto authenticate.
- Open Terminal and run
Fetch and Update Items:
- Use the CLI commands to fetch, modify, and update items.
Sample Script (Pseudo-code):
```bash
Authenticate
op signin my.1password.com
Fetch all Login items
items=$(op list items --categories Login)
Loop through each item
for item in $items; do
# Get item details
details=$(op get item $item)
# Replace http with https in details
# Update the item
op edit item $item $modified_details
done
```
Citation:
3. Using Keyboard Maestro
Detailed Steps:
Install Keyboard Maestro:
- Download and install Keyboard Maestro.
Create Macro:
- Open Keyboard Maestro and create a new macro.
- Add actions to simulate mouse clicks and keyboard inputs to navigate through the 1Password UI.
Test:
- Run the macro on a small set of data to ensure it works as expected.
Citation:
Disclaimer: Please proceed with caution, especially when dealing with sensitive data. Always backup your data and test any script or automation on a small subset first.