← 返回
未分类 中文

Simple File Tree

Show the directory tree structure of a folder. Displays files and subdirectories in a visual tree format. Use when the user wants to see what files are in a...
显示文件夹的目录树结构,以可视化的树形格式展示文件和子目录。在用户想查看某文件夹中包含哪些文件时使用。
jinwangmok jinwangmok 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 427
下载
💾 0
安装
1
版本
#latest

概述

File Tree

Show the directory tree structure of any folder with a single command.

Usage

find <DIR_PATH> -maxdepth 3 | sort | sed 's|[^/]*/|  |g'

Arguments:

#NameDescription
----------------------
1DIR_PATHPath to the directory to display

Example

find /home/user/project -maxdepth 3 | sort | sed 's|[^/]*/|  |g'

Output:

  project
    src
      main.py
      utils.py
    README.md

Success / Failure

  • Success: Indented file listing printed to stdout (exit code 0)
  • Failure: Error message (exit code non-zero, e.g. directory not found)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 07:23 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Text Case Converter

jinwangmok
将文件中的文本转换为大写、小写或标题大小写,用于更改文件中文字的大小写。
★ 0 📥 410

Gmail Link Archiver

jinwangmok
通过IMAP连接Gmail,按主题前缀关键词过滤指定邮箱的邮件,使用Playwright抓取过滤后邮件中的链接(以绕过…)
★ 0 📥 420

Word Count

jinwangmok
统计文件中的字数、行数和字符数,输出一行摘要。用于需要了解文件长度或文档字数时。
★ 0 📥 406