On 12/29/17, [email protected] <[email protected]> wrote:
> Lee wrote:
>> On 12/29/17, Richard Owlett <[email protected]> wrote:
>>> If someone could remind me of the command and syntax for displaying a
>>> file directory structure/contents as ASCII line art I could display
>>> display the organization of my home directory. I could then mangle the
>>> display an analog of the disorganization of my bookmarks.
>> windows: tree /a
>> ----- send the output to a file:
>> mkdir c:\temp
>> tree /a  1>c:\temp\tree.txt  & notepad c:\temp\tree.txt
>>
>> linux: http://centerkey.com/tree/
>
> The OP's problem is organizing the contents of his bookmarks file, which
> is an sqlite file unamenable to manual editing.
>
> True, tree /f from the command line would show this file sitting in the
> SM default profile folder, but that doesn't solve his problem.

Right, sorry for the noise. Apparently I quit reading at 'file
directory structure' and ignored 'contents' :(

How about this - not ascii line art, but it is a one liner:
- export bookmarks as html
$ grep "<DT><H3" bookmarks.html |sed -e "s~<DT><H3 [^>]*>~~" -e "s~</H3>~~"
    About
    Search Engines
    JobSearch
    Networking
        SpeedTest
    Reddit
        occasional
    Security
        Browser fingerprinting
        Host files
        SSL test sites
    Software
        BIND
        DocBook
        GCC
        IrfanView
    Vendors
        FreeBSD
        Intel
        Microsoft
        Mozilla
  <.. snip ..>

Lee
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to