vault backup: 2023-11-04 12:39:14

This commit is contained in:
Paul Trowbridge 2023-11-04 12:39:14 -04:00
parent be412ae489
commit ce4f2b7843
2 changed files with 2 additions and 6 deletions

View File

@ -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:

View File

@ -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/