directory tree to VO

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

directory tree to VO

Steve Litt
Hi all,

Here's a oneliner script that converts a directory tree to a VO file. I'll bet
some of you can recommend a better way...

tree --noreport /mydirectory | sed -e "s/\`--/|--/" | sed -e "s/|-- /|/" | sed
-e "s/\s*|/|/g" | sed -e "s/|/\t/g" > mydirectory.otl



Steve Litt
Founder and acting president: GoLUG
VimOutliner mailing list
[hidden email]