Updating pandoc tutorial
This commit is contained in:
parent
34fad256df
commit
76218c5af4
|
@ -7,12 +7,20 @@ output to a file.
|
||||||
|
|
||||||
In the example a file "foo" is converted from ~odt~ to ~org~
|
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
|
pandoc -s -o foo.org foo.odt
|
||||||
#+end_src
|
#+end_example
|
||||||
|
|
||||||
Check the manual for more information:
|
Check the manual for more information:
|
||||||
|
|
||||||
#+begin_example bash
|
#+begin_example bash
|
||||||
man pandoc
|
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
|
||||||
|
|
Loading…
Reference in New Issue