add password management
This commit is contained in:
parent
136aa8bbc7
commit
dcfa7425dc
4 changed files with 16 additions and 0 deletions
8
files/.local/bin/pass-sync
Executable file
8
files/.local/bin/pass-sync
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
{
|
||||
ping -c1 -W3 1.1.1.1 >/dev/null || exit # no network conncetion
|
||||
pass git pull
|
||||
pass git push -u --all
|
||||
date
|
||||
} > "$HOME/.last-sync" 2>&1
|
||||
Loading…
Add table
Add a link
Reference in a new issue