1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:42:07 +02:00
tldr/pages/common/xml-list.md
2024-10-12 10:02:00 +02:00

16 lines
393 B
Markdown

# xml list
> List a directory's contents (like `ls`) in XML format.
> More information: <https://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`