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


Thanks

SteveT

Steve Litt
Founder and acting president: GoLUG
http://www.golug.org
_______________________________________________
VimOutliner mailing list
[hidden email]
http://www.lists.vimoutliner.org/mailman/listinfo/vimoutliner