Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

rec9140

Re: Log ls listing to TEXT/ASCII file NOT XML

martin wrote:

Sorry, I'm not going to introduce duplicate functionality, just because you do not like XML...

I don't see XML being a plus when a listing in plain ASCII with CR/LF would be x file equals x lines in the files.
12345.pdf

1231231.pdf
123123.pdf
1246496.pdf

Where as XML has extra wasted noise for <fksddfslfj> <aakjka> All that could have been a file name.

See guide to advanced scripting to learn how to easily extract directory listing from XML log.

Thanks, but my scripting language doesn't handle XML. ASCII no problem.
martin

Re: Log ls listing to TEXT/ASCII file NOT XML

Sorry, I'm not going to introduce duplicate functionality, just because you do not like XML...

See guide to advanced scripting to learn how to easily extract directory listing from XML log.
rec9140

Log ls listing to TEXT/ASCII file NOT XML

I would love to see a way to do:

ls > remotedir.txt

So that the directory listing is saved to a file, remotedir.txt

/log and XML are no good.

/log just adds it to the log with other stuff, I don't need.

XML, don't use it, don't like it, don't want it.

This would make it a simple task to email via sendmail or other function, the ls output for other tasks to users with out adding a XML decoding layer and processing.

Thanks.