8000 "cp -lb" shouldn't fail if the destination file exists · Issue #2983 · uutils/coreutils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

"cp -lb" shouldn't fail if the destination file exists #2983

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

Closed
water-ghosts opened this issue Jan 31, 2022 · 0 comments · Fixed by #3033
Closed

"cp -lb" shouldn't fail if the destination file exists #2983

water-ghosts opened this issue Jan 31, 2022 · 0 comments · Fixed by #3033
Labels

Comments

@water-ghosts
Copy link
Contributor
water-ghosts commented Jan 31, 2022
touch file1
touch file2
cp -lb file1 file2

On GNU, this succeeds, and the directory will have three files: file1, file2, and file2~. On uutils, this fails with the error cp: 'file1' -> 'file2': File exists (os error 17)

@water-ghosts water-ghosts changed the title "cp -l" shouldn't fail if the destination file exists "cp -lb" shouldn't fail if the destination file exists Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0