1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/xml-list.md

17 lines
392 B
Markdown
Raw Normal View History

# xml list
2021-08-23 21:20:17 -04:00
> List a directory's contents (like `ls`) in XML format.
2021-08-15 07:19:09 -04:00
> 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:
`xml list --help`