PDA

View Full Version : [ubuntu] [SOLVED] I need to move a folder... command line



shanep-server
November 12th, 2008, 11:48 AM
How do i go about moving a folder.

I want to move

/usr/phpbb3/
to
/var/www/

What is the command line to execute this?

Steve1961
November 12th, 2008, 11:58 AM
sudo cp -a /usr/phpbb3 /var/www/

ratmandall
November 12th, 2008, 12:34 PM
The above would copy /usr/phpbb3/ to /var/www/
This will move it.


sudo mv /usr/phpbb3/ /var/www/