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: fix issue with -T and destination ending with "/" #5554

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

cakebaker
Copy link
Contributor

When using mv -T source_dir dest_dir/ (note the trailing slash, it works fine without it), and dest_dir doesn't exist, uutils mv shows an error message whereas GNU mv renames source_dir to dest_dir. This PR fixes this issue.

@sylvestre sylvestre merged commit ca024ab into uutils:main Dec 7, 2023
49 of 52 checks passed
@cakebaker cakebaker deleted the mv_no_target_directory branch December 7, 2023 13:13
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