Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
install node_export, export node and delete node_export #comming soon with importing node
#!/bin/bash
# $1 path to the first platform
# $2 path to the segond platform
# $3 list of the node id to export
cd $1
drush cc drush
drush dl node_export_feeds, node_export_features, node_export_dependency, node_export_relation, node_export
drush pm-enable node_export
drush ne-export $3 --file=node_export
cd $2
drush cc drush
drush dl node_export_feeds, node_export_features, node_export_dependency, node_export_relation, node_export
drush pm-enable node_export
drush ne-import $3 --file=$2/node_export
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.