Skip to content

Instantly share code, notes, and snippets.

@jasperf
Last active December 16, 2015 03:29
Show Gist options
  • Save jasperf/5370224 to your computer and use it in GitHub Desktop.
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
//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