Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
Like Tree1Likes
  • 1 Post By Ronald Roe

Thread: Automatic Wordpress Download Script

  1. #1
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times

    Automatic Wordpress Download Script

    Just created a script to automatically download and extract the latest version of Wordpress. Thought I'd share.

    This works on Mac and Linux.
    Copy/paste this into an empty file:
    Code:
    #!/bin/bash
    clear
    
    sudo wget http://wordpress.org/latest
    sudo tar -xvzf latest*
    cd wordpress
    sudo cp -R * ..
    cd ..
    sudo rm -rf wordpress/
    sudo rm -rf latest*
    Save the file as wordpress.sh and run this command on it:
    Code:
    sudo chmod -x wordpress.sh
    Then, just drop the file in whatever folder you want WP in, and run it by typing:
    Code:
    ./wordpress.sh
    Be sure to delete the wordpress.sh file when it's done.
    Last edited by Ronald Roe; Sep 28th, 2014 at 04:06 PM.
    AlphaMare likes this.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  2.  


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:27 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com