Add jobber and bin files
This commit is contained in:
13
bin/.bin/syncmail.sh
Executable file
13
bin/.bin/syncmail.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
STATE=`nmcli networking connectivity`
|
||||
|
||||
if [ $STATE = 'full' ]
|
||||
then
|
||||
notmuch search --output=files tag:deleted | xargs -l rm
|
||||
notmuch new
|
||||
muchsync rhea.unbl.ink
|
||||
exit 0
|
||||
fi
|
||||
echo "No internet connection"
|
||||
exit 0
|
||||
Reference in New Issue
Block a user