PDA

View Full Version : Copying files from directory to directory



Datamac
March 30th, 2010, 11:15 PM
I have some configuration files that are in the wrong directory. The files are web server configuration files that are in the apache2 directory. I need to get them into the sites-available directory. Using the GUI I get error moving files. Seems I don't have the necessary permissions to get the job done. Can anyone help me?

Xog
March 30th, 2010, 11:18 PM
sudo mv directory1 directory2

or


sudo mv "file" directory

^^^^^
replacing 'directory' with the actual directory, and 'file' with the actual file

Datamac
March 30th, 2010, 11:26 PM
Thank you!:KS