Menu

Home

mortalis

List Folders

Main features:

  • List files and subfolders of a selected directory.
  • Filter files by extension (include/exclude).
  • Filter root directories by name (include).
  • Export to text, tree.
  • Select export name.
  • View tree structure of exported directory using internal Tree Viewer.

Description

The program is used to list files and subfolders inside a selected local file system path.
It is possible to customize filters to exclude/include files and include directories.
Some export options are available:

  • Export Text - get text file with the folder structure
  • Export Tree - get JSON and HTML files for jsTree jQuery plugin to view folder structure in tree mode and to use the JSON file in the Tree Viewer

Additional Export name field allows set different name for exported files. By default the root folder name is used.

Usage

  1. Paste a directory path in the Path field.
  2. Add extensions to Filter Extensions to include only files with specified extensions.
  3. Add extensions to Exclude Extensions to exclude files with these extensions (the Filter Extensions text will be ignored).
  4. Add folder names (that are subfolders or selected directory) to Filter Directories to include only these directories.
  5. Select Export Options

    • Export Text - creates .txt file with the directory structure in the export/text folder.
    • Export Tree - creates two files: .html in the export/tree subfolder of the project main folder and .json in the export/tree/json subfolder.
      The .html file can be run directly to view the scanned directory content in the tree format. It uses jsTree plugin for jQuery to give representation and interaction of a file tree on the HTML page.
  6. Using the field Export Name you may set a custom name which will be given to .html and .json files in the export/tree folder when the tree view is exported or to .txt file for the text export. Leave the field blank to use the selected directory name as the tree/text name.

  7. Press Scan Directory.
  8. During the scanning the statistic information should appear in the bottom textarea.
  9. After the scan the export subfolders should contain exported files with scanned structure.
  10. To check tree view go to export/tree and open .html file in browser. It should show the directory structure with expandable tree branches.

Tree Viewer

  1. Press Tree Viewer button.
  2. Paste the path to the JSON file with tree structure to the Path field or use Browse button to select the file. The default browse location should point to the export/tree/json folder with exported JSON files.
  3. Press Load Tree to show the file structure in the main area.

Versions

GitHub