You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-P, --no-dereference
never follow symbolic links in SOURCE
The intended outcome is, rather than treating a symlink to a dir as a directory that should be recursively copied, the destination should itself be a symlink with the same target.
Thank you for creating this utility!
The text was updated successfully, but these errors were encountered:
wez
added a commit
to KumoCorp/kumomta
that referenced
this issue
Jun 19, 2024
We need to avoid recursively copying any symlinks-to-dirs as
directories. We can do that with cp, but the parallel xcp utility
doesn't support the --no-dereference flag at this time.
refs: tarka/xcp#52
Hi @wez, I'm happy to add this, but I'm not sure I understand your underlying issue ATM. By default xcp does not dereference symlinks; in-fact can't, which is a missing feature. Also cp doesn't dereference by default. e.g:
From
man cp
:The intended outcome is, rather than treating a symlink to a dir as a directory that should be recursively copied, the destination should itself be a symlink with the same target.
Thank you for creating this utility!
The text was updated successfully, but these errors were encountered: