Command-line option for ps-output
Brought to you by:
spitzak
The following patch adds a "-o <filename>" option,
which when used with a directory argument on the
commandline, scans the directory and dumps the
postscript tree to <filename>. I factored the
printing code out of print_cb and call it directly. I
also added code that recognizes when a directory on the
commandline is really a filesystem, and in that case it
prints the correct freespace in the tree.
Applied with minor changes.