mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +00:00
ac3fcca6c0
Fix a bug where `cp` failed to copy ancestor directories when using the `--parents` option. For example, before this commit: $ mkdir -p a/b/c d $ cp --parents a/b/c d $ find d d d/c After this commit $ mkdir -p a/b/c d $ cp --parents a/b/c d $ find d d d/a d/a/b d/a/b/c This commit also adds the correct messages for `--verbose` mode: $ cp -r --parents --verbose a/b/c d a -> d/a a/b -> d/a/b 'a/b/c' -> 'd/a/b/c' Fixes #3332. |
||
---|---|---|
.. | ||
benches/factor | ||
by-util | ||
common | ||
fixtures | ||
test_util_name.rs | ||
tests.rs |