From e310e519745cc5ab849de500262e817184fbc111 Mon Sep 17 00:00:00 2001 From: xyz Date: Mon, 23 May 2022 23:25:29 -0700 Subject: upd add backup to external drive scripts --- home/xyz/.local/bin/upd | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'home/xyz/.local') diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd index cb998b27..efb9ed48 100755 --- a/home/xyz/.local/bin/upd +++ b/home/xyz/.local/bin/upd @@ -108,6 +108,10 @@ usb () { cfg -s push git --git-dir="$XDG_DOCUMENTS_DIR/notes/.git/" --work-tree="$XDG_DOCUMENTS_DIR/notes/" push usb git --git-dir="$HOME/programs/reminders/.git/" --work-tree="$HOME/programs/reminders/" push usb + + rsync -navPR --delete ~/archive ~/documents ~/downloads ~/music ~/pictures ~/programs ~/test ~/videos ~/.local/share/stardict/dic ~/.local/share/qBittorrent ~/.local/share/sdcv_history ~/.cache/nsxiv ~/.config/qBittorrent ~/.bitmonero/wallets /run/media/xyz/BAKDRI/ + monero-blockchain-export --output-file /run/media/xyz/BAKDRI/archive/monero/blockchain.raw + # not sure if useful or not sync } -- cgit v1.2.3-70-g09d2