You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cp command generally does not allow duplicate source files.
for example
touch a; mkdir d;
cp a a d/
This produces:
cp: warning: source file 'a' specified more than once
Additionally, when providing paths like this:
cp ./a a d/
GNU cp correctly identifies these two paths as pointing to the same file, while our implementation currently attempts to copy both paths, resulting in:
cp: will not overwrite just-created 'd/a' with 'a'
The text was updated successfully, but these errors were encountered:
The cp command generally does not allow duplicate source files.
for example
This produces:
Additionally, when providing paths like this:
GNU cp correctly identifies these two paths as pointing to the same file, while our implementation currently attempts to copy both paths, resulting in:
The text was updated successfully, but these errors were encountered: