tldr/pages/common/xml-list.md

17 lines
418 B
Markdown

# xml list
> Write a directory's listing (like 'ls') in XML format.
> More information: <http://xmlstar.sourceforge.net/docs.php>.
- Write the current directory's listing to an XML document:
`xml list > {{path/to/dir_list.xml}}`
- Write the specified directory's listing to an XML document:
`xml list {{path/to/directory}} > {{path/to/dir_list.xml}}`
- Display help for the `list` subcommand:
`xml list --help`