Just a quick one guys/gals
command for sudo to copy multiple files to a root privileged directory (usr/share/games/)
Thanx
Will
Sudo Copy
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Im running Cassandra so it will be Gnome
so I tried what you suggested and got this
Hmmm just one more thing that I managed to screw up
Thanx
Will
so I tried what you suggested and got this
Code: Select all
sudo: nautilius: command not found
Thanx
Will
I've Been
Minted
Running Mint 9 KDE
Running Mint 9 Gnome
Minted
Running Mint 9 KDE
Running Mint 9 Gnome
Re: Sudo Copy
If you are running GNOME then nautilus is probably there. You can open the file manager as normal user, right? Running any GUI programs as "root" is a bad idea anyway. So instead I'd like to introduce you to some shell commands. First of all, they're sort of "universal" and secondly: GUI or no GUI, they work.whare1 wrote:command for sudo to copy multiple files to a root privileged directory (usr/share/games/)
So you want to copy stuff into /usr/share/games/ ... Let's suppose you downloaded some *.mp3 files (e.g. background music for a game?) and now need to move them there ...
The command sequence would be:
Code: Select all
cd /path/to/where/the/files/where/downloaded
sudo cp *.mp3 /wherever/you/want/
Code: Select all
cd /where/the/sub-folders/are
sudo cp -R ./* /where/this/stuff/need2go/