1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/linkToLocal.sh

11 lines
689 B
Bash
Raw Normal View History

2017-11-14 20:02:58 +02:00
#!/bin/bash
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$ROOT_DIR/CliClient/node_modules"
rm -rf tkwidgets joplin-turndown joplin-turndown-plugin-gfm
ln -s /mnt/d/Docs/PROGS/Node/tkwidgets/src tkwidgets
ln -s /mnt/d/Docs/PROGS/Node/joplin-turndown-plugin-gfm joplin-turndown-plugin-gfm
ln -s /mnt/d/Docs/PROGS/Node/joplin-turndown joplin-turndown
rsync -a --delete --exclude 'node_modules/' /mnt/d/Docs/PROGS/Node/joplin-turndown-plugin-gfm/ /var/www/joplin/ElectronClient/app/node_modules/joplin-turndown-plugin-gfm/
rsync -a --delete --exclude 'node_modules/' /mnt/d/Docs/PROGS/Node/joplin-turndown/ /var/www/joplin/ElectronClient/app/node_modules/joplin-turndown/