Thursday, March 12, 2009

cp: omitting directory

ok. I was trying to copy some fonts to the fonts folder on my ubuntu laptop but kept on getting an 'cp: omitting directory' error. What causes this problem? The folder has files in it and therefore needs to be able to copy the contents of the file also. To do this the -r (recursive) flag is needed to copy the contents of the file.

If you are having this problem, this is how the command should look:

sudo cp -R [directory you are copying from] [space] [directory you are copying to]

No comments: