Hi,
Is anyone able to advise how to do this?
I only have tree 1.6 and I don't think tree works anyway in regards to accepting a string and parsing it to create a hierarchical tree listing.
I want to be able to convert C:\Users\mickey\tmp\Scratchpad.txt to a tree list of some sort like below:
C:\Users
|
+--+ \mickey
|
+--+ \tmp
|
+-- \Scratchpad.txt
And for /home/mickey/tmp/Scratchpad.txt to be like below:
/home
|
+--+ /mickey
|
+--+ /tmp
|
+-- /Scratchpad.txt
At the moment, doing it manually
Even as simply like below would be nice
C:\Users
== \mickey
==== \tmp
====== \Scratchpad.txt
/home
== /mickey
==== /tmp
====== /Scratchpad.txt
Using tree, it always just print the current directory as dot (.) Can't get it to print the current directory instead