Bug 38691 - /usr/bin/rename некорректно работает с именами файлов при указании полного пути
Summary: /usr/bin/rename некорректно работает с именами файлов при указании полного пути
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: util-linux (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-09 17:58 MSK by Anton Farygin
Modified: 2025-12-03 19:08 MSK (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Farygin 2020-07-09 17:58:09 MSK
$ rename '' aaaaa- /usr/bin/xdpyinfo
rename: /usr/bin/xdpyinfo: rename to /usr/binaaaa-/xdpyinfo failed: No such file or directory
Comment 1 Leonid Znamenok 2025-12-03 19:08:53 MSK
> mkdir /tmp/test_dir
> touch /tmp/test_dir/test_file
> rename '' aaaaa- /tmp/test_dir/test_file
> ls /tmp/test_dir
aaaaa-test_file