pandoc aux scripts and templates
This commit is contained in:
18
pandoc/joplin2pdc.sh
Executable file
18
pandoc/joplin2pdc.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
type=$1
|
||||
id=$2
|
||||
to=$3
|
||||
token="07303f7bded4663f8151f4760d1316792196a9c2acd151d6634591b1ebe8846a7b31da3fea9a5de6ff03aa950219382f41d0510b43e6742c4bff692e8d898baa"
|
||||
|
||||
function usage {
|
||||
printf "$0 [notes | folders | resources | tags ] [ID] [toFormat]"
|
||||
}
|
||||
|
||||
if [ -z $1 ]
|
||||
then
|
||||
usage
|
||||
exit
|
||||
fi
|
||||
|
||||
curl -s http://localhost:41184/${type}/${id}?token=${token}
|
||||
Reference in New Issue
Block a user