# Migrate Packages with selected dependencies, but with blueprint (or Python, or C++)

**URL:** <https://forums.unrealengine.com/t/migrate-packages-with-selected-dependencies-but-with-blueprint-or-python-or-c/1387502>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, editor, question, Blueprint\
**Created:** [November 13, 2023, 4:06pm UTC](https://forums.unrealengine.com/t/migrate-packages-with-selected-dependencies-but-with-blueprint-or-python-or-c/1387502 "2023-11-13T16:06:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ghostmoonk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ghostmoonk](https://forums.unrealengine.com/u/Ghostmoonk)\
**Post date:** [November 13, 2023, 4:06pm UTC](https://forums.unrealengine.com/t/migrate-packages-with-selected-dependencies-but-with-blueprint-or-python-or-c/1387502/1 "2023-11-13T16:06:20Z")

</div>

Hello !

Is it possible to do a Migrate Packages through code (BP, Python or C++) with only selected assets/dependencies ? As we can do in the editor by right clicking an asset → Action → Migrate…

Thanks for your answers

---

<div class="post-metadata">

**Author:** ![altercode](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/altercode/32/937290_2.png) [@altercode](https://forums.unrealengine.com/u/altercode)\
**Post date:** [July 9, 2025, 11:29pm UTC](https://forums.unrealengine.com/t/migrate-packages-with-selected-dependencies-but-with-blueprint-or-python-or-c/1387502/2 "2025-07-09T23:29:58Z")

</div>

I’ve been experimenting a bit on that lately since i have some troubles since 5.5 and still 5.6 migrating a specific folder; editor was getting stuck migrating any .umap in this folder.

So i created myself a .ps1 script to run the unreal editor headleass to run the python script. I’ll try to share a snippet soon

---

<div class="post-metadata">

**Author:** ![altercode](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/altercode/32/937290_2.png) [@altercode](https://forums.unrealengine.com/u/altercode)\
**Post date:** [July 9, 2025, 11:45pm UTC](https://forums.unrealengine.com/t/migrate-packages-with-selected-dependencies-but-with-blueprint-or-python-or-c/1387502/3 "2025-07-09T23:45:18Z")

</div>

Ok posted it here [Migrating from one project to another using python](https://forums.unrealengine.com/t/migrating-from-one-project-to-another-using-python/2598939)
