Timeline for How do I correct a directory incorrectly copied into itself?
Current License: CC BY-SA 2.5
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 11, 2011 at 9:49 | history | migrated | from serverfault.com (revisions) | ||
| Dec 15, 2010 at 20:21 | comment | added | Gordon Davisson | Are you trying to merge the two mydir directories? I don't think the mv command can do that... | |
| Dec 15, 2010 at 19:59 | comment | added | Peter Boughton | Ah, I see what you're doing now. This would however mean that any files in <path>/mydir that aren't in <path>/mydir/mydir would be lost. I guess sometimes that's useful, but not in this case. | |
| Dec 15, 2010 at 19:49 | comment | added | Gordon Davisson | Oops, I had the path in the rm command wrong; I've edited the answer to correct it. | |
| Dec 15, 2010 at 19:22 | comment | added | Peter Boughton | Also, I tried a variant of this and get the same problem - see latest edit to question. | |
| Dec 15, 2010 at 19:18 | comment | added | Peter Boughton | I'm confused by the recursive delete command here - if the directory is moved why would it need to be deleted? | |
| Dec 15, 2010 at 1:41 | history | answered | Gordon Davisson | CC BY-SA 2.5 |