Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

生成硬链接的另一种方式 #1

Closed
xuewenG opened this issue Mar 18, 2020 · 1 comment
Closed

生成硬链接的另一种方式 #1

xuewenG opened this issue Mar 18, 2020 · 1 comment

Comments

@xuewenG
Copy link

xuewenG commented Mar 18, 2020

首先说明一下,我无意冒犯您的工作成果,这里只是提供另外一种思路。

生成硬链接的方式对整理资源和做种真的很有用,您写的这个脚本的效果很好。

我想分享一下生成硬链接的另一种方式:可以使用 Linux 系统自带的 cp 工具来生成硬链接。

cp -r -l [src_dir] [dst_dir]

我已经测试过可以使用了:

cp

@backtracker
Copy link
Owner

首先说明一下,我无意冒犯您的工作成果,这里只是提供另外一种思路。

生成硬链接的方式对整理资源和做种真的很有用,您写的这个脚本的效果很好。

我想分享一下生成硬链接的另一种方式:可以使用 Linux 系统自带的 cp 工具来生成硬链接。

cp -r -l [src_dir] [dst_dir]

我已经测试过可以使用了:

cp

我试了一下,真的有用。inode是一样的。多谢分享了啊。我这个项目貌似可以关了,哈哈哈

@xuewenG xuewenG closed this as completed Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants