Hi,
Using Terminal, my boss copied a folder on her desktop to another folder, also on her desktop. Somehow, in copying, she overwrote the destination folder - which contained other files. It changed the destination folder to a text file.
She closed the window before alerting me, so I don't know the exact path she typed. Still it was probably something like this:
She typed "cp -av" and dragged the folders into the Terminal window (she never typed the path). So, Terminal places the exact filepath. In the text file, it looks like the information is still there, it just needs to be converted back.
The odd thing, is that we performed some tests afterwards, performing the same steps with other directories, and it worked correctly - copied the entire folder and subsequent files into the destination folder intact. I and another have performed this before and after, again, with no problems.
I thought it might be because in Terminal, there was no end slash ("/"), but when testing, even though I didn't see end slashes, it copied over just fine.
I'd like to know if anyone else has experienced this issue and how they resolved it. I want to convert the document back to it's original folder structure.
The OS is 10.6.8.
Please let me know if I need to provide any further information.
Thanks.
Stephen
Using Terminal, my boss copied a folder on her desktop to another folder, also on her desktop. Somehow, in copying, she overwrote the destination folder - which contained other files. It changed the destination folder to a text file.
She closed the window before alerting me, so I don't know the exact path she typed. Still it was probably something like this:
Code:
cp -av [filepath/folders/to/copy] [filepath/destination]
She typed "cp -av" and dragged the folders into the Terminal window (she never typed the path). So, Terminal places the exact filepath. In the text file, it looks like the information is still there, it just needs to be converted back.
The odd thing, is that we performed some tests afterwards, performing the same steps with other directories, and it worked correctly - copied the entire folder and subsequent files into the destination folder intact. I and another have performed this before and after, again, with no problems.
I thought it might be because in Terminal, there was no end slash ("/"), but when testing, even though I didn't see end slashes, it copied over just fine.
I'd like to know if anyone else has experienced this issue and how they resolved it. I want to convert the document back to it's original folder structure.
The OS is 10.6.8.
Please let me know if I need to provide any further information.
Thanks.
Stephen