Hi All
I have just imported 2000 files into IDEA. Is there an easier way to append all at one go? Is there possibility of writing a custom script? I am using IDEA 8.5.
Thank you in advance.
Regards
Aveen
aveenm293
Offline
Last seen: 4 years 10 months ago
Joined: 10/23/2012 - 16:02
Hi Aveen, yes it is possible. I will try and put something together for you.
Aveen, here is a script that will do it, it is pretty much the same script as the import. The FOLDER shows the location of the imd files you want to append together. I would recommend having them in a directory one level under your working folder. This will read through all the files in that directory and append them together.
Hi Brian,
Is there any reason why you suggest leaving the source files in a seperate directory?
There are a couple of reasons for that suggestion. This script performs an append of all the imd files located in that particular directory. If you left it at the top level so either at the project folder or working folder level the script would try and append every imd file, more than likely you will have files in there that are not of the same type. By placing all the files you wish to append one level lower you can isolate all the imd files that you wish to append together. One of the limitations of the append is that all the files have to be located in the project or working folder, as IDEA allows one level below that, that is usually the best option for this type of script.
Hope that makes sense.
This script is very useful. Is there a way to modify the script such that there is an interface for the user to select the FOLDER? Thank you.
Hi City1, sorry I originally missed your comment. You can find the script here if you still need it: http://ideascripting.com/forum/append-multiple-files-same-folder