mirror of
https://github.com/captn3m0/Scripts.git
synced 2024-09-27 22:22:53 +00:00
27 lines
551 B
Bash
Executable File
27 lines
551 B
Bash
Executable File
#!/bin/sh
|
|
|
|
PATH=$PATH:/home/nemo/projects/scripts/
|
|
|
|
function sync_repo() {
|
|
pushd $1
|
|
git config --bool branch.master.sync true
|
|
git config --bool branch.master.syncNewFiles true
|
|
git-sync
|
|
popd
|
|
}
|
|
|
|
# xpad-notes
|
|
sync_repo /home/nemo/.config/xpad yes
|
|
# passwords
|
|
sync_repo /home/nemo/.password-store
|
|
|
|
CWD1=`pwd`
|
|
# mobile-passwords
|
|
cp -r /home/nemo/.password-store/mobile-sync/*.gpg /home/nemo/projects/personal/mobile-passwords/
|
|
sync_repo /home/nemo/projects/personal/mobile-passwords
|
|
|
|
# TODO:
|
|
# scripts?: NO
|
|
# imapfilter: YES
|
|
# /etc: YES
|
|
# dotfiles: NO |