---
layout: default
class: Macro
title: lsr ';' DIR (';' SELECTORS )
summary: A list of file names in the given directory optionally filtered by selectors.
---

The `lsr` macro returns a list of file names in the given directory. The optional selectors can be used to filter the result.

    lsr ; <dir> [ ; <selector> ] *
