[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-obsolete-packages] cp inconsistency
From: |
Thomas Hofmann |
Subject: |
[bug-obsolete-packages] cp inconsistency |
Date: |
Wed, 30 Mar 2011 13:19:19 +0200 |
Hello,
just want to report an inconsistency.
cp -a SOME_DIR TO_NOT_YET_EXISTING_DIR
results in a new directory directly containing each entry of SOME_DIR
while:
CP -a SOME_DIR TO_EXISTING_DIR
results in TO_EXISTING_DIR/SOME_DIR
I would expect the first result in both cases, - expecially when
ommitting any as in the above examples.
Appending "/" to the directory-names should lead to the same result.
While appending "/." to the target-directory would change the meaning,
and rather lead to the result of the observed second version.
Hope that I could make clear what I want to say.
Kind regards,
Thomas
p.s. cp (GNU coreutils) 7.1
--
Thomas Hofmann
Diplom Informatiker (FH)
Körnerstr. 22
4107 Leipzig
Germany
phone +49 - 341 - 22 81 705
mobile +49 - 179 - 23 95 118
https://www.xing.com/profile/Thomas_Hofmann24
http://www.myspace.com/thomashofmann
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-obsolete-packages] cp inconsistency,
Thomas Hofmann <=