← 返回
未分类 中文

Realpath Tool

Resolve relative paths and symbolic links to absolute canonical paths. Use for getting the full, unambiguous file path.
解析相对路径和符号链接,转换为绝对规范路径。用于获取完整、无歧义的文件路径。
dinghaibin dinghaibin 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 271
下载
💾 0
安装
1
版本
#latest

概述

Realpath - Absolute Path Resolver

Convert relative paths and symlinks to absolute canonical paths. Useful for scripts that need the full path of files, directories, or symlinked resources.

Usage

realpath-tool [options] <path...>

Options

  • -s: Don't expand symlinks (show logical path)
  • -m: Path doesn't need to exist
  • --relative-to=DIR: Show path relative to DIR

Examples

realpath-tool ./relative/path
realpath-tool -s symlink_path
realpath-tool --relative-to=/home file.txt

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 03:06 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 77 📥 182,539
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 681 📥 329,691
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 197 📥 67,995