can move but not copy
Howdy -
I cannot seem to copy a directory I have. For example, I have a directory of mp3's in my home folder. If I'm working in my home folder, I see something like this when I list: folderA folderB Then I issue the command: cp folderA folderB Then I get: "cp: omitting directory 'folderA'" However, this same line works with the 'mv' command. Ideas? (using RH7.1) |
this isn't really an error - this just means that there's an empty directory that you're trying to copy, and the cp program essentially ignores it. mv doesn't bother to check whether or not a directory is empty when it moves it, so you don't get the same message.
|
Needs to be recursive?
Code:
cp -r folderA folderB |
Yes, it needed to be recursive.
Thanks! That was driving me nuts last night. )M. |
All times are GMT -5. The time now is 02:44 PM. |