Copy files between two accounts

jackbwa

Member
May 1, 2010
11
0
51
Hello

I started recently using cpanel, I created two accounts for two sites, for each account I have file manager to access the site files, now my question is: How to copy site files from one account to the other?

Thanks in advance
Jack
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,918
131
368
SLC
cPanel Access Level
DataCenter Provider
via ssh would be the fastest

# cp -r /home/username/public_html/ /home/otherusername/public_html

# chown -R otherusername.otherusername /home/otherusername/public_html

# chown otherusername.nobody /home/otherusername/public_html

:)