How to export a path to local files from Postman collection to the Newman?

Archived topic — this may be out of date.
Newman has been replaced by the Postman CLI, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.
Working with an AI coding agent? The Postman plugin lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.
For current help, see the Postman docs, try the free Postman tools (no account needed), or join us on Discord.

Hello,
I am using local files in the PUT request like that:


’
It works perfectly in the Postman but I want to run a whole collection in the Newman and there is a problem.
image

My operating system is Windows but I use Ubuntu for Windows 10, it is an application which allows to use bash terminal on the Windows. Due to that fact, the path which is exported by Postman must contain at the beginning: /mnt/path_exported_by_Postman

I wonder how can I run Postman collection which uses local files in the Newman which works on Ubuntu for Windows 10

Hi @mkolomanski

Thank you for your patience :slight_smile: You should be able to change the "Working Directory" for the Postman collections from Settings, which should help you achieve the results you are looking for. Please refer to this article below to know more on the same.

https://support.getpostman.com/hc/en-us/articles/360023574653

Hope this helps!