# Export a different environment filename per iteration

**URL:** <https://community.postman.com/t/export-a-different-environment-filename-per-iteration/2967>\
**Category:** Help Hub\
**Created:** [October 10, 2018, 10:49pm UTC](https://community.postman.com/t/export-a-different-environment-filename-per-iteration/2967 "2018-10-10T22:49:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Traci](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@Traci](https://community.postman.com/u/Traci)\
**Post date:** [October 10, 2018, 10:49pm UTC](https://community.postman.com/t/export-a-different-environment-filename-per-iteration/2967/1 "2018-10-10T22:49:01Z")

</div>

I’m using newman and want to do the following: I want Newman to export the environment filename with a timestamp for each iteration. Does anyone know how to do this? Here is my command which I thought would work. I’m on a mac running this command on my machine . Newman is only creating 1 filename with the timestamp. It’s not creating it for each run.

newman run filename.postman\_collection.json -e QA3.postman\_environment.json --export-environment QA3\_$(date +%Y%m%d\_%H%M).postman\_environment.json -n 2

Thanks for your help  
Traci
