# Move all your collections to a single collection

**URL:** <https://community.postman.com/t/move-all-your-collections-to-a-single-collection/23174>\
**Category:** Help Hub\
**Tags:** collections, collection\
**Created:** [April 27, 2021, 10:45pm UTC](https://community.postman.com/t/move-all-your-collections-to-a-single-collection/23174 "2021-04-27T22:45:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![praveendvd](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/praveendvd/32/6796_2.png) [@praveendvd](https://community.postman.com/u/praveendvd)\
**Post date:** [April 27, 2021, 10:45pm UTC](https://community.postman.com/t/move-all-your-collections-to-a-single-collection/23174/1 "2021-04-27T22:45:33Z")

</div>

Hi Everyone 😀

I created a postman public collection that can be used to move multiple collection to single collection, Thanks to @danny-dainton and @sean.keegan for the idea 😀

🎁🎁🎁 collection link : [Postman](https://www.postman.com/praveendvd-public/workspace/postman-tricks-and-tips/collection/8296678-26c11f51-1c76-491a-817b-482690641073?ctx=documentation)

just goto to request inside the “run this in collection runner folder” goto the pre request and edit the API key , and the collection list with the UUIDs of the collection you want

Then just run the folder in collection run , and manually send the download request and goto visualize. Here you can download the new collection json 🙌

you can provide the workspace name also to where you need to create the collection automatically

![ezgif.com-gif-maker](https://us1.discourse-cdn.com/getpostman/original/3X/4/b/4bff031f855580d3ed9dd3948188a9742dbde360.gif)

**#postman**  **#apitesting**  **#apisummit2021**  **#testautomation**

---

<div class="post-metadata">

**Author:** ![material-saganist-51](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/material-saganist-51/32/8310_2.png) [@material-saganist-51](https://community.postman.com/u/material-saganist-51)\
**Post date:** [May 1, 2021, 4:39pm UTC](https://community.postman.com/t/move-all-your-collections-to-a-single-collection/23174/2 "2021-05-01T16:39:53Z")

</div>

This is super cool! Could you share some insight on how this affects the data exchanging process process speed across requests? In other words, how does it affect space/time complexity considerations?

Or does this optimization impact data accessibility in an insignificant way?

Thanks so much 🙂

---

<div class="post-metadata">

**Author:** ![bvieira080](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/bvieira080/32/8034_2.png) [@bvieira080](https://community.postman.com/u/bvieira080)\
**Post date:** [May 2, 2021, 12:29am UTC](https://community.postman.com/t/move-all-your-collections-to-a-single-collection/23174/3 "2021-05-02T00:29:04Z")

</div>

Nice! Thanks a lot. but… what about the inverse of this? is it possible?

---

<div class="post-metadata">

**Author:** ![praveendvd](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/praveendvd/32/6796_2.png) [@praveendvd](https://community.postman.com/u/praveendvd)\
**Post date:** [May 2, 2021, 8:42am UTC](https://community.postman.com/t/move-all-your-collections-to-a-single-collection/23174/4 "2021-05-02T08:42:38Z")

</div>

Ya can try the same , I will try to implement one ,❣

---

<div class="post-metadata">

**Author:** ![praveendvd](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/praveendvd/32/6796_2.png) [@praveendvd](https://community.postman.com/u/praveendvd)\
**Post date:** [February 4, 2022, 10:05am UTC](https://community.postman.com/t/move-all-your-collections-to-a-single-collection/23174/5 "2022-02-04T10:05:11Z")

</div>

🎉🎉🎉😍 **#500** + **#Downloads** so far :  
[postman-collection-url-updater - npm](https://www.npmjs.com/package/postman-collection-url-updater)

Hi Linkedin Family and all Postman lovers

postman-collection-url-updater **#v3** is out ❤❤

I have added one more utility **#postman** - **#collection** - **#aggregator** to the project , now you can consoilidate/move multiple collections into single collection. 😍

just install the package and run the below command

npm i -g postman-collection-url-updater

postman-collection-aggregator -l “./collection1.json” “./collection2.json” -n “new\_collection”

This will create a new collection called “new\_collection” with sub collection 1 and 2 as sub folders , all variables will be added to the new\_collection

postman-collection-aggregator -d “./collectionDirectory” -n “new\_collection”

you can also simply pass the directory containing all the collections instead of individual files

It was a rollercoaster ride of learning:

1. Creating a nodejs cmd utility

2. Writing Github action, to run in linux, windows, and Mac

3. Creating automatic npm publish and writing Github pages

4. Writing Jest unit and system test

5. Learning Jest coverage test and Mocks

Will write an article soon with all the information

**#sdet**  **#testautomationengineer**  **#article**  **#postmanapi**  **#postman**  **#nodejsdeveloper**  **#qaengineer**  **#medium**  **#javascriptdeveloper**  **#js**

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 12, 2024, 2:46pm UTC](https://community.postman.com/t/move-all-your-collections-to-a-single-collection/23174/6 "2024-12-12T14:46:55Z")

</div>

Closed on December 12, 2024, 2:46pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
