How can I export all the tables in org-mode file similar to that.
* May
:PROPERTIES:
:TABLE_EXPORT_FILE: ~/Desktop/may.csv
:TABLE_EXPORT_FORMAT: orgtbl-to-csv
:END:
|One|Two|
|---+---|
* June
:PROPERTIES:
:TABLE_EXPORT_FILE: ~/Desktop/june.csv
:TABLE_EXPORT_FORMAT: orgtbl-to-csv
:END:
|One|Two|
|---+---|
I want to run something like this to export all tables to the defined file.
emacs --batch table.org --eval 'org-table-export'
The problem is that I have to be in the table.