3
1
I wonder if there is a tool that will list file / directory (i.e. take a snapshot of the folder and file structure) like the following:
audio
mp3
song1.mp3
some other song.mp3
audio books
7 habits.mp3
video
samples
up.mov
cars.mov
in other words, in a tree structure.
The Unix command ls -R
or ls -lR
can do something similar, except it won't list it indented in a tree structure
If you want to save it to a file (at least in Windows), you can use the
/A
switch and redirect to a file (tree /A /F > tree.txt
), but that only uses ASCII characters. Alternatively, you can use Unicode by redirecting to an RTF file, opening it in Word, and converting from "Encoded Text" with MS-DOS encoding. In that case, the command istree /F > tree.rtf
. – Pat – 2011-02-21T16:03:58.723