merge_csv_files.pl - Command line client to Text::CSV::Merge
version 0.03
merge_csv_files.pl \ --base=merge_into.csv \ --merge=merge_from.csv \ --columns=EMAIL,FNAME,LNAME,LOCATION,JAN,FEB,MAR,APR,MAY,JUN \ --output=merge.csv \ --search=EMAIL \ --first-row-is-headers
You have two CSV files with mostly the same column names. But, the 'base' CSV files has gaps in its data, i.e. some cells are empty. Another CSV has data, but its too laborious to comb through it by hand. Use this CLI to fill in the gaps.
Default is 1, or TRUE (Remember, Perl has no built-in Boolean).
Michael Gatto <mgatto@lisantra.com>
This software is copyright (c) 2013 by Michael Gatto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Text::CSV::Merge, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::CSV::Merge
CPAN shell
perl -MCPAN -e shell install Text::CSV::Merge
For more information on module installation, please visit the detailed CPAN module installation guide.