How to export custom post type posts based on date range

If you have access to WP CLI, may be worth trying the wp export command.

wp export --post_type=career --start_date=2011-01-01 --end_date=2011-12-31

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)