# Migrating global files to ember-cli ES6 modules

**URL:** <https://discuss.emberjs.com/t/migrating-global-files-to-ember-cli-es6-modules/7407>\
**Category:** Ember CLI\
**Created:** [February 26, 2015, 1:42am UTC](https://discuss.emberjs.com/t/migrating-global-files-to-ember-cli-es6-modules/7407 "2015-02-26T01:42:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![koryteg](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/koryteg/32/14781_2.png) [@koryteg](https://discuss.emberjs.com/u/koryteg)\
**Post date:** [February 26, 2015, 1:42am UTC](https://discuss.emberjs.com/t/migrating-global-files-to-ember-cli-es6-modules/7407/1 "2015-02-26T01:42:12Z")

</div>

Hey I am moving off of ember-rails and into ember-cli. I am about the move all the files to the right folder structure, naming conventions, and ES6 modules. I was hoping there would be an easy way to do this. anyone know of a tool?

---

<div class="post-metadata">

**Author:** ![jimmay5469](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/jimmay5469/32/15440_2.png) [@jimmay5469](https://discuss.emberjs.com/u/jimmay5469)\
**Post date:** [February 26, 2015, 2:55pm UTC](https://discuss.emberjs.com/t/migrating-global-files-to-ember-cli-es6-modules/7407/2 "2015-02-26T14:55:12Z")

</div>

I have also been in the process. After considering many ways of doing this (file by file, trying to run some kind of script, etc) I have decided to go file by file and its actually not too bad.

Eg. - if I am going to migrate a controller I actually do `ember g controller [name]` and then copy in the controller internals.

This is a large project so this will take a bit of time but after reading [Ember rails to ember cli by elucid](http://elucid.github.io/ember_rails_to_ember_cli/) it really does seem like a smaller headache than the alternatives.

That post has a lot of good resources for whatever route you decide to go.

---

<div class="post-metadata">

**Author:** ![koryteg](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/koryteg/32/14781_2.png) [@koryteg](https://discuss.emberjs.com/u/koryteg)\
**Post date:** [February 27, 2015, 5:12pm UTC](https://discuss.emberjs.com/t/migrating-global-files-to-ember-cli-es6-modules/7407/3 "2015-02-27T17:12:45Z")

</div>

thanks! that worked pretty well, now these damn addons are killing me! haha
