An un-summarized change.
parent
55d0d7886d
commit
59553ad423
|
@ -1,4 +1,10 @@
|
||||||
A tool for running pandoc when a file is saved in an inbox directory:
|
---
|
||||||
|
format: markdown
|
||||||
|
toc: false
|
||||||
|
title: Pandoc Inbox Watcher Script
|
||||||
|
...
|
||||||
|
|
||||||
|
A tool for running `pandoc` when a file is saved in an inbox directory:
|
||||||
|
|
||||||
~~~ { .shell }
|
~~~ { .shell }
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -14,3 +20,5 @@ done
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
The `pandoc_wrapper` is a script that calls pandoc with the appropriate parameters for the document formatting I want to do. It takes a source file and a destination directory as parameters; it automatically creates the destination name based on the source file name and the destination directory.
|
The `pandoc_wrapper` is a script that calls pandoc with the appropriate parameters for the document formatting I want to do. It takes a source file and a destination directory as parameters; it automatically creates the destination name based on the source file name and the destination directory.
|
||||||
|
|
||||||
|
The `inotifywait` program is from the `inotify-tools` package in Ubuntu.
|
Loading…
Reference in New Issue