Last active
August 29, 2015 14:10
-
-
Save DILL44/7e10e45fc4e17fecb513 to your computer and use it in GitHub Desktop.
install node_export, export node and delete node_export #comming soon with importing node
This file contains 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 | |
# $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