PDA

View Full Version : [ubuntu] I have a question about copying files to /opt.



lichaoir
May 24th, 2008, 03:08 PM
I want to install firefox 2.0, so I downloaded it, and then when I was copying to /opt directory, it raise something like this:

I executed: sudo cp -f firefox /opt
The terminal said: cp: omitting directory `firefox'

Why? And how can I fix it?

Thanks for your discussion and answer!

unutbu
May 24th, 2008, 03:47 PM
sudo cp -R firefox /opt
-R means: copy directories recursively

without -R, cp will only copy files.