Skip to content

Your first cleanup

In this tutorial you log in and look around your vault. Then you make two fixes. One item gets a better name, and a field that several items spell differently gets one name. You write both to the vault and find them in the Change log next to the backup that bwtidy takes first.

You need bwtidy running and open in your browser (see Run bwtidy). The pictures show bwtidy's test vault. Where this page names an item, pick a similar one of your own.

Log in

If you see the cookie notice, click Accept to continue to the account form.

Enter your Bitwarden or Vaultwarden server and email, then click Continue.

The account form with the server and email filled in and Continue outlined

The first time, bwtidy offers to create the account and runs a vault login that unlocks the vault too (see Log in the first time). Later logins ask only for your master password. Type it and click Unlock.

The unlock form with the master password typed and Unlock outlined

After a few seconds your vault shows.

Look at the grid

Each item of the vault is a row and each field is a column. The item's own columns come first and your custom fields come last. In between are the fields of each item type, such as a login's username or an SSH key's fingerprint.

The grid with Search, Hide empty columns and Columns outlined and numbered 1 to 3

  • Search ① shows only the items with the words you type.
  • Hide empty columns ② hides every column that none of the shown items fill in.
  • Columns ③ picks the columns to show (see Show or hide columns).

Scroll to the right and you will likely find the same field under a few names. Tidying those up is what bwtidy is for.

Fix a name

The login Library is for the city library, so give it a name that says so. Type Library in Search. Then double click its name, type City library and press Enter.

The name cell of Library being edited, with City library typed

The cell turns amber. That means the change waits in the queue and is not in the vault yet. A Commit now button shows in the app bar.

Rename a field in every item

Five notes call their password field Password and two others call it password. These steps give them all the same name:

  1. Type Old webshop in Search and switch on Hide empty columns. Its fields are then in view.
  2. Click the three dots in the header of Password and pick Rename field… in its menu.

    The header menu of the Password column with Rename field outlined

  3. Type password as the new name. A field of that name exists already, so bwtidy merges the two columns. Click Merge. If an item has a value in both, a dialog then asks which one it keeps.

    The dialog Rename field Password with password typed, the note about the merge and Merge outlined

Switch Hide empty columns off and clear Search to see the whole vault again.

See it on the Queue page

Click Queue in the app bar. Both edits wait under Pending. Each shows its items and the values before and after (a secret value stays masked).

The Queue page with the two pending edits and Commit now outlined in the app bar

The auto-commit writes them 180 seconds after the first one unless you changed that delay (see How edits are saved). If it has written them already, they are under Applied and Commit now is gone. Then go on to the Change log.

Commit

Click Commit now. bwtidy makes sure it has a backup of the vault as it is and then writes both edits. A spinner in the app bar shows while it works.

Find it in the Change log

Click Change log. It lists every write with the newest first. Your two edits go into one write and get a row each that names the items they changed.

The Change log with the two written edits, their backup outlined and the backup's own row outlined below them

A write sits between two backups. The Backup column of your rows names the backup of the vault as it was right before the write. bwtidy takes that backup or reuses one that matches the vault. It has its own row further down, which links to its file. The file is encrypted with your master password. Right after the write bwtidy starts the next backup in the background. Its row shows at the top once it is done.

Changed your mind? Restore on an edit's row opens a dialog that says what happens to each item. Once you confirm, it puts them back as that backup holds them. Keep the edits for now if you go on to the next tutorial, since it builds on them.

Next steps