Last active
October 26, 2022 14:26
-
-
Save sethmclean/af2ea0a5247ddbc84fc6 to your computer and use it in GitHub Desktop.
If you want to download the latest Wordpress to the current folder, and extract without the wp-content...
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
#!/bin/bash | |
curl -L http://wordpress.org/latest.tar.gz | tar -zxv --exclude='wp-content' --exclude='wp-config-sample.php' --exclude='readme.html' --strip-components=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment