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

mv: allow destination with slash when using --update #5695

Merged

Conversation

cakebaker
Copy link
Contributor

With GNU mv, mv --update source/ dest/ renames source to dest. uutils mv, on the other hand, shows a "Not a directory" error message. This PR fixes this issue.

@sylvestre
Copy link
Sponsor Contributor

similar to this #5686 (comment), right ?

@cakebaker
Copy link
Contributor Author

Yes, it is similar, though with install it's about a slash appended to a filename.

@uutils uutils deleted a comment from github-actions bot Dec 23, 2023
@sylvestre sylvestre merged commit 2635ddf into uutils:main Dec 23, 2023
54 of 57 checks passed
@cakebaker cakebaker deleted the mv_update_destination_with_trailing_slash branch December 23, 2023 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants