From b1e1dfc93d370bdcc1a40506be6292bec9411f83 Mon Sep 17 00:00:00 2001 From: towfiq Date: Wed, 5 Apr 2023 14:39:45 +0600 Subject: [PATCH 1/6] fix: added .idea in .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 5b13aa4..149721f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ .settings .project /data +.idea From 82a21030d91019671ccb366651ef54829005c8f6 Mon Sep 17 00:00:00 2001 From: towfiq Date: Wed, 5 Apr 2023 14:40:08 +0600 Subject: [PATCH 2/6] fix: updated schema dump command --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bac3c4a..6ecb776 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Simple program to extract data from Access databases into CSV files. Dumping a schema: - $ ./access2csv myfile.accdb --schema + $ ./access2csv --input=myfile.accdb --schema CREATE TABLE Test( Id INT, Name TEXT, @@ -21,7 +21,11 @@ Dumping a schema: Id INT, Name TEXT ) - + +To Save the schema in a file: + + $ ./access2csv --input=myfile.accdb --schema > schema_file_name + Exporting all tables: $ ./access2csv myfile.accdb From 5b81ea02270bcba9e245507d61ed3bbab1926bb6 Mon Sep 17 00:00:00 2001 From: towfiq Date: Wed, 5 Apr 2023 14:40:36 +0600 Subject: [PATCH 3/6] fix: updated table dump command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ecb776..d75b43e 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ To Save the schema in a file: Exporting all tables: - $ ./access2csv myfile.accdb + $ ./access2csv --input=myfile.accdb --output= Exporting 'Test' to /home/ryepup/Test.csv 2 rows exported Exporting 'Test2' to /home/ryepup/Test2.csv From 838c4d95a0d8a077800dd512abd4d480cd5a0bf3 Mon Sep 17 00:00:00 2001 From: towfiq Date: Wed, 5 Apr 2023 14:41:04 +0600 Subject: [PATCH 4/6] fix: updated build command with skip test --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d75b43e..a90f807 100644 --- a/README.md +++ b/README.md @@ -51,10 +51,14 @@ file from there then use it as shown above. $ git clone https://github.com/AccelerationNet/access2csv.git $ cd access2csv $ mvn clean install - + +To skip test during build: + + $ mvn clean install -DskipTests + Now you should have a `access2csv.jar` in the target directory, ready to go. -Note December, 2017. Things have changed a little. If nothing else works then, (after compiling with mvn clean install) try running something +Note December 2017. Things have changed a little. If nothing else works then, (after compiling with mvn clean install) try running something like this (example of Windows batch file) in the root of the repository (replace the path\to\file):
 ".\target\appassembler\bin\access2csv.bat" --input ".\path\to\file" --output . --write-null NULL --quote-all false --schema --with-header 
From 7489371fd69e4c8a2264dc2f377859f659341ff2 Mon Sep 17 00:00:00 2001 From: towfiq Date: Wed, 5 Apr 2023 14:42:12 +0600 Subject: [PATCH 5/6] fix: fixed type/spelling --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a90f807..b1badec 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ like this (example of Windows batch file) in the root of the repository (replace
 ".\target\appassembler\bin\access2csv.bat" --input ".\path\to\file" --output . --write-null NULL --quote-all false --schema --with-header 
-## Depenencies +## Dependencies * [Jackess](http://jackcess.sourceforge.net/) - a pure Java library for reading from and writing to MS Access databases From 9218e4e197e487ffc07d52f2361a6465d02dee85 Mon Sep 17 00:00:00 2001 From: towfiq Date: Sun, 9 Apr 2023 05:26:23 +0600 Subject: [PATCH 6/6] fix: updated command options --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b1badec..929e290 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,17 @@ Exporting all tables: 2 rows exported Exporting 'Test2' to /home/ryepup/Test2.csv 100000 rows exported - + +Command Options: + ``` + --input // reuqired. input file location + --output // required. output file location + --write-null // optional. Default value for NULL. i.e NULL | "" | false | + --quote-all // optional. false | true + --schema // optional. Dump the DB schema + --with-header // optional. Write CSV with header + ``` + Export one table: $ ./access2csv myfile.accdb Test