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
  • 1,377

3 Answers3

1

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

e100
  • 1,128
-1

You're better off doing this with an export to Excel, with a couple extra steps to show the folder structure. It's very easy. Check out my article on LinkedIn:

https://www.linkedin.com/pulse/how-export-sharepoint-document-library-excel-show-folder-cardonick

-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.