Message141821
| Author | petri.lehtinen |
|---|---|
| Recipients | eric.araujo, hynek, petri.lehtinen, tarek |
| Date | 2011-08-09.14:50:39 |
| SpamBayes Score | 0.006342184 |
| Marked as misclassified | No |
| Message-id | <1312901440.45.0.0873680103604.issue12715@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
> Doing what UNIX’ cp program does would be best here. $ cp --version cp (GNU coreutils) 8.5 $ touch file $ ln -s file link_to_file $ mkdir directory $ ln -s directory link_to_directory $ cp -a link_to_file link_to_directory $ ls -l directory lrwxrwxrwx 1 user user 4 2011-08-09 17:46 link_to_file -> file So at least cp from GNU coreutils seems to copy the link into the directory, dereferencing the dst link. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-08-09 14:50:40 | petri.lehtinen | set | recipients: + petri.lehtinen, tarek, eric.araujo, hynek |
| 2011-08-09 14:50:40 | petri.lehtinen | set | messageid: <1312901440.45.0.0873680103604.issue12715@psf.upfronthosting.co.za> |
| 2011-08-09 14:50:39 | petri.lehtinen | link | issue12715 messages |
| 2011-08-09 14:50:39 | petri.lehtinen | create | |