Open
Description
Description:
Recursively copying a directory with the --no-target-directory (-T)
option to another location with a different name throws a StripPrefixError
Steps to Reproduce:
-
Create a directory (i.e named
temp
) -
Copy the created directory and give it a new name with the following command
cp -r temp -T new_temp
Expected Behavior:
A new directory should be created at the target location containing the same files as the original one
Actual Behavior:
The command throws the following error:
cp: StripPrefixError(StripPrefixError(()))
Environment:
OS: Void Linux
cp version: cp 0.0.30