LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to move content of folder moving to public_html ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-move-content-of-folder-moving-to-public_html-870941/)

cluepatel 03-25-2011 08:57 AM

how to move content of folder moving to public_html ?
 
hello friends,

i want to move all files inside the folder moving to folder public_html

which command i should use ? m using centos5 64bit

please tell me full command which i should writer in ssh client..so my all files will be moved to public_html...from moving folder..

kungfur@mone 03-25-2011 11:43 AM

mv * /home/username/public_html

Is that what you mean?

cluepatel 03-25-2011 11:48 AM

i solve it... mv moving/* /home/username/public_html

then also thanx for reply :)

col007 03-25-2011 11:49 AM

Yes i'm need to know very much the same.. i have a setup a public_html/staging/ folder where my new website is located. Now i need to copy all the files and folders from public_html/staging/ to public_html/ via SSH

I think..! SSH to /public_html/staging/ the command may be...?

cp -R * ../

cluepatel 03-25-2011 11:59 AM

use command

first get to directory stagin by typing cd staging

then mv staging/* /home/username/public_html

plz correct me if m wrong...:)


All times are GMT -5. The time now is 05:30 PM.