Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 767 Bytes

File metadata and controls

25 lines (18 loc) · 767 Bytes

FileTrace

A lightweight, user-friendly Python tool that generates a clean, visually structured directory tree using ASCII art. Perfect for project documentation, debugging, or sharing file structures in terminals.


Features

  • Visual tree output with ├──, └──, and connectors
  • Smart path resolution:
    • Strips surrounding quotes
    • Resolves relative paths (current or parent directory)
    • Handles sibling project folders (e.g., ../my_super_cool_project)
  • Sorted directories and files for consistent output
  • Copy-paste-ready terminal output
  • No external dependencies

Quick Start

  1. Save the script as filetrace.py
  2. Run in terminal:
    python filetrace.py