First:
You don't need to use sudo
for copying to your home own directory.
Second:
Your cp
command is:
cp desktop-login.ogg.old sudo cp ~/Downloads/Desktop-login.ogg
So, you're trying to copy files named desktop-login.ogg.old
, sudo
and cp
from the current directory, to ~/Downloads/Desktop-login.ogg
. If you tell cp
to copy multiple files, it will assume the target is a directory. Since the target isn't a directory, it will complain. What you need to use is just:
cp desktop-login.ogg.old ~/Downloads/Desktop-login.ogg
But from your question, you wanted to copy the latter, to the former. So, you actually need to use:
cp ~/Downloads/Desktop-login.ogg desktop-login.ogg.old
And if that file is not in your home directory, but in /usr/share
(or somewhere like that, then use sudo
).
cp
needs an input file and an output file:sudo cp /path/file.ogg /path2/file2.ogg
.