homepage Welcome to WebmasterWorld Guest from 23.22.97.26
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Copy Command shell access
copy commands unix
hypasha




msg:3169796
 9:05 pm on Nov 27, 2006 (gmt 0)

Hope I am in right forum..what is the command to copy fromn a unix server a website via a ssh program? This is sort of? like DOS...
Part of my site was wrongly uploaded to the root dir and I cannot see nor overwrite the files via FTP..so they set me up with a shell program (think right term) it is like DOS....so I want to copy all the files on my server for this website.(it is a dedicated server) I need exact command to do this please..thank you....

 

phranque




msg:3170027
 1:29 am on Nov 28, 2006 (gmt 0)

the command to copy an entire directory to another is:
cp /from/directory/path/* /to/directory/path

to "move" files rather than "copy" use "mv" rather than "cp".

note that if you have hidden files (".*") they will not be moved or copied using the above commands...

hypasha




msg:3176177
 9:03 pm on Dec 2, 2006 (gmt 0)

Thank you!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved