Skip to content

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

Merged
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:mv_update_destination_with_trailing_slash
Dec 23, 2023
Merged

mv: allow destination with slash when using --update#5695
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:mv_update_destination_with_trailing_slash

Conversation

@cakebaker
Copy link
Copy Markdown
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
Copy Markdown
Contributor

similar to this #5686 (comment), right ?

@cakebaker
Copy link
Copy Markdown
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
@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