Git Product home page Git Product logo

excel2csv's Introduction

excel2csv

Build Status

xls/xlsx/csv/tsv converter

Download

Released versions are available at Release page

License

excel2csv  xls/xlsx/csv/tsv converter
Copyright (C) 2014-2015 Yasunobu OKAMURA

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Binary distribution license

The binary distribution of excel2csv includes following open source software. They are licensed by Apache License or GPL3.

  • Apache POI - the Java API for Microsoft Documents
  • Open CSV - a very simple csv (comma-separated values) parser library for Java
  • Table IO - Uniformed Table Reader and Writer for CSV, TSV and Excel Files
  • Args4j - API for parsing command line options passed to programs

Requirements

  • Java 8 or later

Install

  1. Copy excel2csv to some where
  2. Add PATH

Usage

usage: excel2csv [options] [INPUT...] [OUTPUT]
 -A         file type of output file will detect automatically (default)
 -a         file type of input file will detect automatically (default)
 -F         Overwrite sheet if exists
 -h         show help
 -i <arg>   Sheet index of input file (xls/xlsx only / default: 0)
 -s <arg>   Sheet name of input file (xls/xlsx only)
 -S <arg>   Sheet name candidate of output file (xls/xlsx only)

The file format is automatically detected by suffix. If an output xls/xlsx file is exists, excel2csv do not overwrite file. In this case excel2csv add a sheet to the file. By default, a name the of sheet is suggested from a input file name.

Convert xls to csv

excel2csv iris.xls iris.csv

Convert csv to xlsx and set sheet name as "iris"

excel2csv -S iris iris.csv iris.xlsx

Add tsv data to xlsx and set sheet name as "foo"

excel2csv -S foo foo.txt iris.xlsx

How to build

git clone https://github.com/informationsea/excel2csv.git
cd excel2csv
./gradlew clean build createExecutable nativePackage

excel2csv's People

Contributors

informationsea avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.