jjr-joplin/joplin.sh

13 lines
183 B
Bash
Raw Normal View History

2018-04-18 18:26:44 +02:00
#!/bin/bash
2018-04-19 16:02:54 +02:00
readonly joplin_dir="/usr/share/joplin-cli/"
2018-04-18 18:26:44 +02:00
if [[ ! -d $joplin_dir ]]; then
echo "Did not found joplin data directory"
exit 1
fi
cd $joplin_dir
2018-04-19 16:02:54 +02:00
node main.js ${@}