Problem/Motivation

By changing the default scheme for exports to the tmp file, using the drush content:export command now no longer puts the exported files in an easily accessible location for use with the import command.

Proposed resolution

Change the getRealDirectory method in the CommandHelper to set the default export location to docroot/export-folder, mimicking the behavior of export through the UI.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

artycal created an issue. See original summary.

artycal’s picture

Assigned: artycal » Unassigned
Status: Active » Needs review
nginex’s picture

Assigned: Unassigned » nginex

  • nginex committed aa884bf3 on 1.4.x authored by artycal
    Issue #3387218: Drush export command should put files in default export...
nginex’s picture

Assigned: nginex » Unassigned
Status: Needs review » Fixed

Works like a charm, thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.