# xml-list > List a directory as XML. > More information: . - List the current directory to an XML file: `xml list >{{path/to/dir_list.xml}}` - List the specified directory to an XML file: `xml list {{path/to/directory}} >{{path/to/dir_list.xml}}` - Display help for `list` subcommand: `xml list --help`