← 返回
未分类 中文

Ln Tool

Create hard and symbolic links between files. Use for file referencing, shortcuts, and directory organization.
创建硬链接和符号链接,用于文件引用、快捷方式和目录组织。
dinghaibin dinghaibin 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 289
下载
💾 0
安装
1
版本
#latest

概述

Ln - Link Creation Utility

Create links between files. Supports hard links (same inode, same data) and symbolic links (reference to target path). Essential for file organization and shared resources.

Usage

ln-tool [options] <target> <link_name>

Link Types

  • Hard links: Direct reference to file data (same inode)
  • Symbolic links: Path reference (can cross filesystems)

Options

  • -s: Create symbolic link (default is hard link)
  • -f: Force creation (remove existing destination)
  • -n: Treat destination as normal file

Examples

# Hard link
ln-tool original.txt link.txt

# Symbolic link
ln-tool -s /usr/bin/python3 ./python

# Force replace existing link
ln-tool -sf /usr/bin/python3 ./python

版本历史

共 1 个版本

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

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 472 📥 78,651
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 31,028
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 31,092