私がディレクトリの再帰的なハードリンクをしたいのであれば、 ln -h
の代わりに cp -r -l dir
をbashで使う必要があります。 dired-do-hardlink
はその下に ln
を使用しているので、これをdiredでどのように複製するのですか?
私は M-! cp -r -l dir
を使用していますが、ファイルをリンクするときに別の方法でディレクトリを扱う必要はありません。
から diredp-do-hardlink-recursive
を使用してください Dired +
diredp-do-hardlink-recursive is an interactive compiled Lisp function
in `dired+.el'.
(diredp-do-hardlink-recursive &optional IGNORE-MARKS-P)
Add hard links for marked files, including those in marked subdirs.
Like `dired-do-hardlink', but act recursively on subdirs to pick up the
files to link.
The files included are those that are marked in the current Dired
buffer, or all files in the directory if none are marked. Marked
subdirectories are handled recursively in the same way.
With a prefix argument, ignore all marks - include all files in this
Dired buffer and all subdirs, recursively.