Skip to content

mv: fix issue with -T and destination ending with "/"#5554

Merged
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:mv_no_target_directory
Dec 7, 2023
Merged

mv: fix issue with -T and destination ending with "/"#5554
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:mv_no_target_directory

Conversation

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