Skip to content

wp core download ignores --path #376

Closed

Description

@ezbik

as a result, it downloads WP files to current folder and destination folder is empty.

$ cd ; mkdir tmp1 tmp2 ; cd tmp1 ; wp --path=/root/tmp2/ core download

Downloading latest WordPress (en_US)...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4895k    0 4895k    0     0  3429k      0 --:--:--  0:00:01 --:--:-- 4002k
Success: WordPress downloaded.


# ls . ../tmp2/
.:
index.php        wp-admin              wp-content         wp-load.php      wp-signup.php
license.txt      wp-blog-header.php    wp-cron.php        wp-login.php     wp-trackback.php
readme.html      wp-comments-post.php  wp-includes        wp-mail.php      xmlrpc.php
wp-activate.php  wp-config-sample.php  wp-links-opml.php  wp-settings.php

../tmp2/:

Activity

  1. scribu commented on Apr 4, 2013

    @scribu
    Member

    What version of wp-cli are you using?

  2. ezbik commented on Apr 4, 2013

    @ezbik
    Author

    0.8

  3. scribu commented on Apr 4, 2013

    @scribu
    Member

    Ok, this is fixed in 0.9. See #327

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions