tldr/pages/common/xml-list.md

17 lines
418 B
Markdown
Raw Normal View History

# xml list
> List a directory's contents (like 'ls') in XML format.
2021-08-15 12:19:09 +01:00
> More information: <http://xmlstar.sourceforge.net/docs.php>.
- List the current directory's contents to an XML document:
`xml list > {{path/to/dir_list.xml}}`
- List the specified directory's contents to an XML document:
`xml list {{path/to/directory}} > {{path/to/dir_list.xml}}`
- Display help for the `list` subcommand:
`xml list --help`