# Export contacts from console

**URL:** <https://forum.mautic.org/t/export-contacts-from-console/24477>\
**Category:** General Discussion\
**Created:** [June 16, 2022, 12:30pm UTC](https://forum.mautic.org/t/export-contacts-from-console/24477 "2022-06-16T12:30:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arcmedia](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/arcmedia/32/1441_2.png) [@arcmedia](https://forum.mautic.org/u/arcmedia)\
**Post date:** [June 16, 2022, 12:30pm UTC](https://forum.mautic.org/t/export-contacts-from-console/24477/1 "2022-06-16T12:30:49Z")

</div>

Hello,

i need to generate a daily file with the status (values of certain fields) of contacts and I was wondering if there is a way to **export all contacts from a segment via console.**

Could be something like:  
php bin/console mautic:export --segmentId [segmentId] --filepath [filepath] --limit 500

Do you know if there is any workaround to do this?

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![arcmedia](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/arcmedia/32/1441_2.png) [@arcmedia](https://forum.mautic.org/u/arcmedia)\
**Post date:** [June 17, 2022, 12:32pm UTC](https://forum.mautic.org/t/export-contacts-from-console/24477/2 "2022-06-17T12:32:10Z")

</div>

Has anyone any idea?
