Last active
December 16, 2015 03:29
-
-
Save jasperf/5370224 to your computer and use it in GitHub Desktop.
Copy (WordPress) site from root domain to subdomain under same user #wordpress #unix #copy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Go into the the folder containing all files in the root domain | |
//Enter the following command assuming both domains are in the same | |
//user folder like at Dreamhost and most hosters | |
//http://forums.devshed.com/linux-help-33/how-to-copy-all-content-of-a-directory-26094.html | |
cp -R * ../sub.domain.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment