Welcome to WebmasterWorld Guest from 54.145.104.199

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Copy Command shell access

copy commands unix

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

10+ Year Member



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....
1:29 am on Nov 28, 2006 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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...

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

10+ Year Member



Thank you!
 

Featured Threads

Hot Threads This Week

Hot Threads This Month