The Linux 'tree' command conveniently outputs a display tree of files and associated data. That's just what I want, only I want to be able to provide my own (potentially very large) list of files. Anyone know how to do that? Tree only seems to accept file names on the command line, and I'll quickly blow through that.
no subject
Date: 2009-07-08 10:56 pm (UTC)cat <names> | sort | xargs ls -d<flags> | <something that replaces repeated prefixes of the form \/.*\/ with leaders at the start of the line>
no subject
Date: 2009-07-09 12:08 am (UTC)no subject
Date: 2009-07-09 12:47 am (UTC)no subject
Date: 2009-07-09 05:47 am (UTC)cat > tree -
thing definitely doesn't work. I tried it before posting my question, in case it was an undocumented feature. It looks like I'll have to whip something up out of perl.