Updating pandoc tutorial

This commit is contained in:
Jose 2022-09-02 17:58:09 -03:00
parent 34fad256df
commit 76218c5af4
1 changed files with 11 additions and 3 deletions

View File

@ -7,12 +7,20 @@ output to a file.
In the example a file "foo" is converted from ~odt~ to ~org~
#+begin_src bash
#+begin_example bash
pandoc -s -o foo.org foo.odt
#+end_src
#+end_example
Check the manual for more information:
#+begin_example bash
man pandoc
#+end_src
#+end_example
** Convert multiple files using 'xarg'
Convert all ~odt~ files to ~emacs-org~:
#+begin_example bash
find . -type f -name '*.odt' -print0 | xargs -0 -n2 -P2 pandoc {} -f odt -o {}.org
#+end_example