Is there a linux command which will output the structure of a given directory as XML? if there is, that would be awesome.
Thanks very much
As far as I know there is no standard linux command to do the job, but google-ing I found that there is a free multi platform: xml-directory-listing
Unfortunately it is written in Java.
You could easily write a script for that, using languages such as Perl, Python or Ruby should do well.