LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   why doesn't cp copy folders? (https://www.linuxquestions.org/questions/linux-newbie-8/why-doesnt-cp-copy-folders-427386/)

paddy 03-22-2006 02:29 PM

why doesn't cp copy folders?
 
well the subject says it: cp doesn't copy folders, though according to its manual, it should. clues?
thanks, pat

acid_kewpie 03-22-2006 02:32 PM

the manual also tells you how to do it if you read it.... "cp -r foldername destination" the r is for recursive copy, i.e. folders.

paddy 03-22-2006 02:35 PM

that's what I tried. but I got a different error (no such file or directory) problem was, I tried to cp from remote. scp -r did the job. thanks and sorry for bothering


All times are GMT -5. The time now is 06:09 AM.