Z ZeroAT Active Member 685 2010 28 0 Jan 19, 2011 #1 I want to copy my site's directory into another directory to do board testings. What is the SSH command for that? Thank you. <3
I want to copy my site's directory into another directory to do board testings. What is the SSH command for that? Thank you. <3
B bxflow Active Member 4,686 2010 621 30 Jan 19, 2011 #2 I Believe is cp -r /folderyouwant/tocopy /intothisdestinationfolder/
L Lock Down Active Member 2,122 2010 228 0 Jan 19, 2011 #3 With permissions/owner info add -p (especially when testing) and I believe you need * like this: cp -rp /folderyouwant/tocopy/* /intothisdestinationfolder Click to expand...
With permissions/owner info add -p (especially when testing) and I believe you need * like this: cp -rp /folderyouwant/tocopy/* /intothisdestinationfolder Click to expand...
S stunna Banned Banned 23 2010 0 0 Jan 19, 2011 #4 ZeroAT said: I want to copy my site's directory into another directory to do board testings. What is the SSH command for that? Thank you. <3 Click to expand... The best way to do it is via rsync command : rsync -avz --progress folder_to_copy new_destination (if this is on the same server)
ZeroAT said: I want to copy my site's directory into another directory to do board testings. What is the SSH command for that? Thank you. <3 Click to expand... The best way to do it is via rsync command : rsync -avz --progress folder_to_copy new_destination (if this is on the same server)
M Mac Active Member 1,837 2009 45 0 Jan 19, 2011 #5 cp -R foldertocopy destination_path/ That should do.
F freecbc3 Banned Banned 891 2010 3 0 Jan 20, 2011 #6 cp -rp /home/xxxx/public_html/ /home2/zzzz/public_html/ Click to expand... hope it help