php - Exporting Nodes using drush as csv files issues -
i want export nodes specific type drupal website csv file using drush have trying command fails.
drush node-export --type=break,article --format=dsv --sql "select nid node limit 100" --file=/root/article.csv
error output:
the directory 1 not contain valid drupal installation [0.1 sec, 5.71 mb]
could please advice
the problem has been solved following steps :
1- have select needed nids databases.
2- have passed nids drush command following :
3- drush node-export --type=break,article --format=dsv nids 33 300 3012 45 --file=/root/article.csv
you have make sure have node-export enabled drupal.
Comments
Post a Comment