manage local scripts
This commit is contained in:
parent
51802a8430
commit
dc2cf152ee
5 changed files with 18 additions and 0 deletions
1
bin/.local/bin/msmtp-enqueue.sh
Symbolic link
1
bin/.local/bin/msmtp-enqueue.sh
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/doc/msmtp/msmtpqueue/msmtp-enqueue.sh
|
1
bin/.local/bin/msmtp-listqueue.sh
Symbolic link
1
bin/.local/bin/msmtp-listqueue.sh
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/doc/msmtp/msmtpqueue/msmtp-listqueue.sh
|
1
bin/.local/bin/msmtp-runqueue.sh
Symbolic link
1
bin/.local/bin/msmtp-runqueue.sh
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/doc/msmtp/msmtpqueue/msmtp-runqueue.sh
|
8
bin/.local/bin/syncemail
Executable file
8
bin/.local/bin/syncemail
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
for a in waarp; do
|
||||||
|
echo "Début de la synchronisation"
|
||||||
|
mbsync -a gmail-$a && echo "Synchronisation effectuée" || echo "Erreur de syncheronisation" >&2
|
||||||
|
echo mailboxes $(mbsync -l gmail-$a | sed -e 's|\(.*\)|"+\1"|') > ~/.config/mutt/$a.mailboxes
|
||||||
|
done
|
||||||
|
|
7
bin/.local/bin/syncnotebook
Executable file
7
bin/.local/bin/syncnotebook
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
cd ~/Notebook
|
||||||
|
git pull
|
||||||
|
git add .
|
||||||
|
git commit -m "$(date)"
|
||||||
|
git push
|
Loading…
Add table
Add a link
Reference in a new issue