Your First DataFlush Script

Andrea Mattioli
There is a newer version of this page. You can find it here.

Create an example CSV file

Create a .csv file like the following:

col1;col2
first;second
third;fourth

The first row contains the header with column names, the others are data rows.

Call it source.csv and put it in any directory you want.

Create the script

Now, in the same directory, create the example.script file containing:

#
FROM CSV
fileName: source.csv
headers: true
delimiter: ;
#
TO CSV
fileName: dest.csv
headers: true
delimiter: ,
#
COLUMN col1 => (1) name:dest1
COLUMN col2 => (0) name:dest2

Try it


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.