iterations
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
iterations [2015/05/01 09:08] – dmitry | iterations [2016/06/07 23:04] – dmitry | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Iterations ===== | ===== Iterations ===== | ||
- | Currently iterations are not natively supported | + | Iterations |
- | * Setup EasyMorph project so that it takes, say, **input.csv** and produces **output.csv** | + | Please read [[http:// |
- | * Generate a list of files to process in EasyMorph | + | |
- | * Iterate through this list: | + | |
- | * Take one file from the list and copy it as **input.csv** | + | |
- | * Run the EasyMorph project | + | |
- | * Rename **output.csv** and copy it to a designated output directory | + | |
- | + | ||
- | Below is an example of a batch file that does exactly this: | + | |
- | + | ||
- | @echo off | + | |
- | setlocal EnableDelayedExpansion | + | |
- | SET pathEasyMorph=C: | + | |
- | SET pathInputFolder=.\ | + | |
- | SET pathOutputFolder=.\ | + | |
- | + | ||
- | for /f " | + | |
- | copy /Y " | + | |
- | %pathEasyMorph% /c /run "my project.morph" | + | |
- | copy /Y output.csv " | + | |
- | echo Processed: %%a | + | |
- | ) | + | |
- | + | ||
- | === See also === | + | |
- | + | ||
- | * [[http:// | + |