diff --git a/.bashrc b/.bashrc index 6b6468d..c912d75 100644 --- a/.bashrc +++ b/.bashrc @@ -113,12 +113,8 @@ alias gr='git reset HEAD' alias gc='git commit -v' alias gd='git difftool' alias gl='git log --graph --oneline --format="%C(yellow)%h %C(green)%an%Creset %C(blue)%ad%Creset %s"' -vc() { - git add . - git commit -m "vault backup: $(date "+%Y-%m-%d %H:%M:%S")" -} alias cj='cd ~/storage/shared/Documents/journal/' -alias jr='cd ~/storage/shared/Documents/journal/ && git pull && vc && cd -' +alias jr='cd ~/storage/shared/Documents/journal/ && git pull && vc && git push && cd -' alias hc='cd ~/storage/shared/Documents/hc_notes/ && git pull && git push && cd -' # Add an "alert" alias for long running commands. Use like so: diff --git a/sync.sh b/sync.sh index 3a1ee37..b89c5ae 100755 --- a/sync.sh +++ b/sync.sh @@ -1 +1 @@ -rsync -azv -e ssh -r /storage/emulated/0/DCIM/Camera pt@hptrow.me:/home/pt/pics +rsync -azv -e ssh -r /storage/emulated/0/DCIM/Camera/ pt@hptrow.me:/mnt/backup/pics/Paul/