Omitting Directory Error
I am attempting to back up my data from my "USBDRIVE" which is /dev/sdc1.
I have a directory called "backup" on my Desktop and when I try to "cp", I get the following error and am not sure how to resolve. Code:
cwilliams@tank:/media/USBDRIVE$ ls -l |
Perhaps you need to specify the -r. Usually that error is indicating you're trying to copy over a directory that already exists in the destination.
|
I think you need to use the recursive switch with cp.
|
It appears you get the error if the directory you're trying to copy does not exist in the target directory as well. Anyways, the "-r" tag seemed to do the trick. Sorry I did not think of that and thanks for your help!
|
Thank you your anwser was right on the mark.
I love Linux and I want to really thank you guys for the time you put in to help us out. Again Thank you.
|
All times are GMT -5. The time now is 10:32 AM. |