How to output folder hierarchy from Sharepoint

1

I have a MOSS site where there is many folders and subfolders. I would like to output this folder hierarchy e.g. into a text file. How is that possible? Windows command line "tree" command does not work with UNC paths? Here is a desired example output from my local computer:

C:\temp\repos>tree
C:.
├───conf
├───db
│   ├───revprops
│   │   └───0
│   ├───revs
│   │   └───0
│   ├───transactions
│   └───txn-protorevs
├───hooks
└───locks

atricapilla

Posted 2010-09-07T11:28:15.930

Reputation: 1 077

Answers

1

tree \\server\sitecollection\site works fine for me (Windows XP)

e100

Posted 2010-09-07T11:28:15.930

Reputation: 1 078

-1

Alternatively, DO NOT USE FOLDERS/SUBFOLDERS in a SharePoint doc lib. Yes, it works. No, it is NOT the preferred way to do things. Metadata (custom columns) is by far a better way to manage your docs and what they are. Category/SubCategory = Folder/SubFolder. Makes finding/sorting/filtering your docs much easier and faster. And you can trivially export that info out as a CSV/Excel/Text.

Try it.

SharePointAdminGuy

Posted 2010-09-07T11:28:15.930

Reputation:

I think the question is about the underlying folder structure of the install, not folders within libraries. – e100 – 2010-11-13T13:40:57.757