Closed (fixed)
Project:
Node export
Version:
7.x-3.x-dev
Component:
Node export
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2011 at 09:50 UTC
Updated:
28 Apr 2017 at 13:00 UTC
Jump to comment: Most recent
Comments
Comment #1
danielb commentedjust do
drush -u 1 ne-exportthat should work afaik
Comment #2
danielb commentedoh for a content type
here is the example from the drush help for this module (I don't know the command to make the help appear though!)
so I suppose you could do this:
drush -u 1 ne-export --type=my-node-typeComment #3
muschpusch commentedThanks that works!
Comment #4
muschpusch commentedchanging status to fix!
Comment #5
danielb commentedFYI here is the complete list of --options you can use
Those last two options (sql and code) are new and I haven't had any feedback on their inclusion, but could potentially allow you to solve any complex filtering you need. You could even have a custom PHP function that pulls nids from a Views module views display in a similar way that node reference does - quite a bit of work to set that up, but it would be really useful once you got it working.
Comment #6
pimok3000 commentedThis works great but where is the exported file saved? I can´t find it anywhere on my debian5 Server having giving it a name with --file=nodeexport.
Can someone clearify please?
Comment #7
pimok3000 commentedwhere is the exported file saved?
After doing some search for myself i found out that the file that you name after --file= will be saved in the drupal root folder. Going there you can easily import that file back again.
Comment #9
TribalMan commentedthis does not seem to translate into an xml file that can be converted to csv. How did you edit your changes?
Comment #10
Atomox commentedBecause Node Export does not seem to handle large exports or batches, I have written a bash script to pass several nids to drush ne-export. [edit] Is there a limit to how many nids the drush command will accept? I can't seem to find this documented anywhere.
Comment #11
kris77 commentedThis module export and import the content author too?