# Select fields displayed in list or ls

**URL:** https://discourse.beets.io/t/select-fields-displayed-in-list-or-ls/1616
**Category:** Help
**Created:** [December 21, 2020, 3:29pm UTC](https://discourse.beets.io/t/select-fields-displayed-in-list-or-ls/1616 "2020-12-21T15:29:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![phirestalker](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@phirestalker](https://discourse.beets.io/u/phirestalker)
#### Post date: [December 21, 2020, 3:29pm UTC](https://discourse.beets.io/t/select-fields-displayed-in-list-or-ls/1616/1 "2020-12-21T15:29:13Z")

</div>

I would like to know if it is possible to choose which fields are printed when the list command is used? For instance, I would like the duration of each track to be printed in addition to the artist, album, and title.

---

<div class="post-metadata">

### Author: ![out-of-range](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/out-of-range/32/428_2.png) [@out-of-range](https://discourse.beets.io/u/out-of-range)
#### Post date: [December 21, 2020, 4:43pm UTC](https://discourse.beets.io/t/select-fields-displayed-in-list-or-ls/1616/2 "2020-12-21T16:43:16Z")

</div>

Definitely possible 🙂

To specify the format from the command line you can use the `-f` option ([list command documentation](https://beets.readthedocs.io/en/stable/reference/cli.html#list)).

To set the default format for the list command use [format\_item](https://beets.readthedocs.io/en/stable/reference/config.html#format-item) in your configuration. You might want something like

```auto
format_item $artist - $album - $title - $length

```

Have a look at `beet fields` for other things you can include.

---

<div class="post-metadata">

### Author: ![phirestalker](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@phirestalker](https://discourse.beets.io/u/phirestalker)
#### Post date: [December 23, 2020, 3:19am UTC](https://discourse.beets.io/t/select-fields-displayed-in-list-or-ls/1616/3 "2020-12-23T03:19:04Z")

</div>

I knew it was something simple, but it is hard to search for.

Thanks.
