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

cp: Duplicate source error message should specify the type of file. #6832

Closed
matrixhead opened this issue Oct 31, 2024 · 1 comment
Closed
Labels

Comments

@matrixhead
Copy link
Contributor

When a source directory is specified more than once, the error message should clearly indicate that it’s a directory, not a file.

Example:

mkdir b; mkdir d;
cp -r b b d/

GNU’s cp produces the following message:

warning: source directory 'b' specified more than once

Whereas uu-cp outputs:

warning: source file 'b' specified more than once
@cakebaker
Copy link
Contributor

Fixed by #6825

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants