-
Notifications
You must be signed in to change notification settings - Fork 344
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
concurrent use of multiple symbolic link handling modes #274
Comments
Documented order of precedence rules for symbolic link handling modes in 1af2237. |
In the man page section on symbolic links it has a summary of how the symlink options interact. It was missing As for The latest git has the man page improvements. |
To --update-link's overriding --copy-links, it goes back to the observation made with --copy-links prevailing over --links. Being a more recent option, picking --update-links would naturally stem from an informed choice by a user to use it over a former option. That said, the best case may be to do away with allowing mutually exclusive link modes being specified at once on the command line or throw a warning at the very least, stating which mode is in use whenever two or more are given. The warnings gnu find presents on overriding options given after positional parameters come to mind. |
Symbolic link handling modes may be combined but do not appear to produce any failures or warnings, clarifying which symlink handling mode is in effect. Such behaviour may call for an error, if not intentional, a warning or a documentation change.
E.g. With
--links
and--copy-links
enabled,--copy-links
prevails.Similar precedence is seen for
--update-links
(i.e. copy symlink only if more recent) from PR #198.--update-links
effects prevail over--copy-links
(transfer the referent of the symlink as symlink name).Parameter order appears to be irrelevant.
The text was updated successfully, but these errors were encountered: